E524 enhance: Add an option to control browser-level autofill behavior on Windows by aoxiangtianyu-go · Pull Request #1649 · tauri-apps/wry · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@aoxiangtianyu-go
Copy link
@aoxiangtianyu-go aoxiangtianyu-go commented Dec 31, 2025

close #1535

This PR adds an optional WebView attribute to control browser-level autofill behavior on Windows.

The motivation for exposing this option is that browser-level autofill behavior in WebView2
is controlled by the underlying runtime and cannot always be influenced through standard
HTML attributes alone. In some scenarios, applications need a way to explicitly opt out of
browser-managed autofill at the WebView level.

The default behavior is preserved unless the option is explicitly set.
The change is limited to the WebView2 implementation and does not affect other platforms.

Related issues

Follow-up

I will submit a separate PR to tauri to expose this API at the application level.

@aoxiangtianyu-go aoxiangtianyu-go requested a review from a team as a code owner December 31, 2025 15:27
Copy link
Member
@FabianLars FabianLars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR! just some nits :)

@aoxiangtianyu-go
Copy link
Author

I’ve addressed the review feedback and pushed the updates. Please let me know if there’s anything I should do.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose IsGeneralAutofillEnabled WebView2 setting

2 participants

0