tleunen / react-mdl

React Components for Material Design Lite
https://tleunen.github.io/react-mdl/
MIT License
1.76k stars 255 forks source link

Can't disable autocomplete in Textfield inside Dialog #436

Open koutsenko opened 7 years ago

koutsenko commented 7 years ago

It there any way? It makes Dialog completely unusable, because even after click on the suggestion, they don't close. And Dialog buttons remains overlapped by suggestion list.

koutsenko commented 7 years ago

Temporarily workaround is DialogActions fullWidth property - so buttons text don't overlapped.

Verikon commented 7 years ago

For all browsers but chrome, autoComplete="off" on the Textfield element should suffice.

Google feel that developers need to be protected from themselves here : https://bugs.chromium.org/p/chromium/issues/detail?id=468153#c164

edit: not sure if the project steers here want to support google's compliancy problems https://www.w3.org/wiki/HTML/Elements/input/text