-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
update autocomplete on html to on
and off
#19873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
update autocomplete from true and false to on and off
on
and off
true
and false
to on
and off
true
and false
to on
and off
on
and off
@peterhashair The change looks fine, but you don't need to request a review from me for every vue change now that the migration is nearing completion. Core reviewers can review them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might not work as expected in some cases. E.g. when setting autocomplete=off
directly, the change here would convert this to autocomplete=on
.
Additionally this will add a autocomplete=off
to all input fields that don't define a autocomplete. Not sure if that is expected.
Also we should consider to use the autocomplete attribute in a way, where we not only set it to on
or off
, but provide which data to autofill (or not).
For now I would say we should change all occurrences of autocomplete=false
to autocomplete=off
, so we later have the possibility to use something like autocomplete="password"
@sgiehl that makes more sense, I guess, we can change autocomplete from boolean to string, will update all the places that appear. |
update autocomplete to string
@sgiehl any suggestion on that PR, I update |
Description:
Fixes: #19872
update autocomplete on HTML from true and false to
on
andoff
Review