material-components / material-web

Material Design Web Components
https://material-web.dev
Apache License 2.0
9.2k stars 882 forks source link

Broken textfield autocomplete #82

Closed ranjeet-choudhary closed 1 year ago

ranjeet-choudhary commented 6 years ago

The autosuggest fails until input tag is inside form tag. https://github.com/material-components/material-components-web/issues/3174

But It doesn't work for form level autosuggest. https://github.com/w3c/webcomponents/issues/572

BenRacicot commented 5 years ago

@azakus Any movement on this? I can't believe we cannot override Chrome's background-color with input:-webkit-autofill. What an enormous gotcha with a floating label pattern input.

Doesn't this issue void the use of the floating label pattern?

ranjeet-choudhary commented 5 years ago

@azakus Haven't tried yet but looks promising, should take care of form-related issues. Form-associated custom elements https://docs.google.com/document/d/1JO8puctCSpW-ZYGU8lF-h4FWRIDQNDVexzHoOQ2iQmY/edit?pli=1#heading=h.c5n73clvajkz

jaydanurwin commented 2 years ago

Is there a status on this? I was working on creating a Lit component that helps my company implement forms easily on client websites but not having autofill/autocomplete is kind of a deal breaker on whether or not we can use material form fields for it.

Thank you!