I'm working with an antd
AutoComplete
component (see docs here), and it's supposed to be part of a CRM where the user types in the phone number of a prospective client and the <AutoComplete />
component suggests phone numbers from list of customer contacts existing in database.
Obviously, the user's personal contact data saved by the browser is useless for such an input.
So, the issue is I keep getting interference from Chrome's autofill dropdown like shown in the picture below
You can see the unwanted dropdown hiding the dropdown created by antd
AutoComplete
And the thing is that inasmuch as I set the autocomplete
attribute on the AutoComplete
component, when I inspect in Devtools, I see that the attribute does not get passed down into the wrapped input element being used by antd. Please how do I fix this?
PS: This is for antd v3