-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[pickers] Bug with the autoComplete
HTML attribute
#12218
Comments
autoComplete
HTML attribute
@Paul6552 Thank you for creating this issue! 🙏 |
I searched for the "new multi-HTML" input on the mui documentation website but couldn`t find any information about that. |
In the new major version, we are going to introduce a new DOM structure that is a lot more compatible with the ARIA recommendations for accessibility. If we want to support the |
I tried with version 7 and
|
@Paul6552 I can confirm that indeed the I've fixed the prop propagation and tried testing the autofill behavior, but either I'm not aware of something or it doesn't work on date inputs. I couldn't make the Maybe you have a reproduction example that you can test this (use Or do you have any tips on how to force the |
Or do you have any tips on how to force the bday autocomplete? Sadly, Chromium does not support "bday" as autofill, therefore it would only be working for IOS users. I can test this, but it would just take some time because I don't have an IOS device myself and I only tried it out with a friend's iPhone. |
@Paul6552 I've tested both v6 and v7 behaviors on an iOS simulator. We'll need to spend a bit more time on this to come up with a solution, which would work. We'll get back to it after grooming and prioritizing it. 😉 P.S. To even test it you have to use Desktop Picker, because Mobile variants are |
Steps to reproduce
I have a registration page where the user can fill out the standard fields like "Firstname, Lastname, Birthday ..."
With Firstname, Lastname, Telephone, Email ... the
autocomplete
property is working fine. To clarify a bit more:I do NOT speak about the mui autocomplete component. I speak about the HTML attribute: autocomplete for the browser -> Click me
On the http-link above you can find the html attribute: "bday":
"bday"
A birth date, as a full date.
I tried setting the autocomplete attribute at the datePicker component, but no browser does recognize this attribute. My Code:
A working example with another component is
Textfield
:This code above is working and the browser does fill out automatically the first name.
Current behavior
No browser does fill out the birthday automatically
Expected behavior
Every browser should fill out the birthday if some contact details are saved in the browser.
Context
No response
Your environment
Tested with Chrome, Firefox and Edge browser
Mui latest version
Search keywords: datepicker html attribute "autocomplete" not working
Search keywords:
The text was updated successfully, but these errors were encountered: