feat(webview2): add option to disable browser-level autofill on Windows#14722
Merged
Legend-Master merged 15 commits intoApr 23, 2026
Conversation
3 tasks
6d7d691 to
c435508
Compare
6bf8a5d to
e959019
Compare
Contributor
Package Changes Through 6c8556aThere are 11 changes which include tauri with minor, @tauri-apps/api with minor, tauri-build with minor, tauri-macos-sign with patch, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-cli with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-plugin with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
…o/tauri into disable-autofill
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
razein97
pushed a commit
to razein97/tauri
that referenced
this pull request
Apr 30, 2026
…ws (tauri-apps#14722) * feat(webview2): add option to disable browser-level autofill on Windows * docs(api): set disableAutofill api since to 2.11.0 * docs(disable_autofill ): unify documentation * Update .changes/.disable-autofill.md Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> * refactor(runtime): rename disable_autofill to general_autofill_enabled * refactor(api): delete general autofill option in WindowOptions Co-authored-by: Copilot <copilot@github.com> * Update crates/tauri-runtime-wry/src/lib.rs Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> * fix: fix default value for general_autofill_enabled * fix(schema): fix default value for general_autofill_enabled * Clean up * Revert new line --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
razein97
pushed a commit
to razein97/tauri
that referenced
this pull request
Apr 30, 2026
…ws (tauri-apps#14722) * feat(webview2): add option to disable browser-level autofill on Windows * docs(api): set disableAutofill api since to 2.11.0 * docs(disable_autofill ): unify documentation * Update .changes/.disable-autofill.md Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> * refactor(runtime): rename disable_autofill to general_autofill_enabled * refactor(api): delete general autofill option in WindowOptions Co-authored-by: Copilot <copilot@github.com> * Update crates/tauri-runtime-wry/src/lib.rs Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> * fix: fix default value for general_autofill_enabled * fix(schema): fix default value for general_autofill_enabled * Clean up * Revert new line --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an application-level option to control browser-level autofill and form suggestions on Windows (WebView2), based on existing support in
wry.Motivation
User reports indicate that:
autocomplete="off"is not reliably respected on Windows WebView2Exposing this option allows applications to explicitly control this behavior.
Related issues:
IsGeneralAutofillEnabledWebView2 setting wry#1535Testing