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
put back autocomplete="off" warning and add it on all checkboxes and radio? #28623
Comments
Inclined to leave it off—haven't seen any reported issues I think on this? |
there's no issues you're right but maybe need to make a choice? remove all autocomplete on checkboxes and labels, or put it quite everywhere with an explaination? But for sure it's a desired functionnality of Firefox so maybe remove all autocomplete attribute would make sense. Let you decide :-) |
FWIW as a Firefox user I truly appreciate those persistent states. |
I'm in favor of removing them all. |
However...do they cause issues? I've not tested, but could these lead to situations where a programmatically set CSS style (like |
Using the back button will sometimes persist input states on Firefox. which is not always what is wanted (specifically with dynamically generated pages, and when the user cannot control the caching headers that served the page) I've had to use autocomplete="off" many times where I couldn't set caching headers to no-cache/must-revalidate/etc. |
Also, isn't is needed specifically for button styles checkboxes/radios? |
In my opinion the problem is that there is no visual indication that firefox autocompleted a radio or checkbox. The text boxes are at least marked yellow. As I recently was looking for a bug in my code that didn't exist because of this I'm also voting for the autocomplete=off or at least something mentioned in the documentation. |
trying to tackle the fundamental problem here #28952 |
Closed via #28952 |
This attribute is yet to be supported by specs. See: https://git.io/JesTb Related issue/fix in Bootstrap twbs/bootstrap#28623 https://github.com/twbs/bootstrap/pullrequests/28952
This attribute is yet to be supported by specs. See: https://git.io/JesTb Related issue/fix in Bootstrap twbs/bootstrap#28623 https://github.com/twbs/bootstrap/pullrequests/28952
I haven't find it in v4 documentation and all input checkboxes and radio doen't have the autocomplete attribute but as mentioned in v3 :
https://getbootstrap.com/docs/3.4/javascript/#callout-buttons-ff-autocomplete firefox persist state during browsing https://bugzilla.mozilla.org/show_bug.cgi?id=654072
So maybe need to add autocomplete="off" on all radio and checkboxes in V4/V5 documentation + put back the callout?
The text was updated successfully, but these errors were encountered: