-
Notifications
You must be signed in to change notification settings - Fork 162
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
Prevent browser from auto-filling CheckedPasswordWidget #515
base: main
Are you sure you want to change the base?
Prevent browser from auto-filling CheckedPasswordWidget #515
Conversation
Browser support is incomplete, but better than nothing :). See https://caniuse.com/mdn-html_global_attributes_autocomplete_new-password
@JocelynDelalande thank you for your PR. However there already exists a method to add arbitrary HTML attributes to widgets. Additionally developers should be allowed to opt-in to this attribute, but making it mandatory would eliminate that option. Please let me know if the current method does not satisfy your use case. |
@stevepiercy Thanks for your input. You are right, I can handle it via this way. Thanks for pointing me to this part of the doc, I adopted it in my project :). But still, IMHO this is a very sane default for the CheckedPasswordWidget (not having it in a browser with pw autocomplete leads to frequent frustration/errors). (I think this discussion has an interest, but I am no deform insider, and will not advocate indefinitely on this, given that I don't know enough deform design/practices). |
All Pylons Project projects attempt to not break existing developer implementations with backward incompatible feature additions. There is a difference between a mandatory value and a default value. This PR sets a mandatory value for I would accept a modification to this PR that:
|
Perfectly :).
OK ; I'll do that.
Those two I did them in current PR (Was it the right maneer to do it ?). Thanks again for taking time to discuss/welcome contribution. Appreciated :). |
Yes, although the change will probably need to be updated to reflect your upcoming change.
Thank you for persisting. You made me think about how to meet everyone's use case without breaking existing forms. I've reopened the PR. |
Browser support is incomplete, but better than nothing :).
See https://caniuse.com/mdn-html_global_attributes_autocomplete_new-password