-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.
Description
Issue summary
Chrome is known to sometimes ignore the autoComplete=false setting on inputs: https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7
The workaround is to set it to a string field named differently from the ones autocomplete looks for:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill
Expected behavior
TextField should be able to handle a string prop as well as a boolean prop for autocomplete, and then set autocomplete to the value of the string if the prop is a string.
Actual behavior
TextField only accepts boolean or null values.
Specifications
- Are you using the React components? (Y/N): Y
- Polaris version number: 3.10.0
- Browser: Chrome Version 72.0.3626.121 (Official Build) (64-bit)
- Device: mac
- Operating System: Mojave 10.14.3
Metadata
Metadata
Assignees
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.