Skip to content

autoFill.tsx component is having autoComplete="off" hardcoded and because of this the chrome dropdown is shown. #10376

@nishaant

Description

@nishaant

if we have a form and have a autofill input type component in it.
there is a bug in chrome which opens up the chrome autofill form.(https://stackoverflow.com/questions/25823448/ng-form-and-autocomplete-off/39689037#39689037)

Since in office-fabric the autofill.tsx is rendering a input field with autoComplete="off", and chrome is not respecting it for now.
as a workaround we can change the autocomplete value to some random string but fabric has hard coded the autocomplete = "off".

As a fix, we can make the autocomplete passed in inputprops, and apply it to inside autoFill.tsx.
autofillBug

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions