ekwonye-richard / react-flags-select

Customizable svg flags select components for React Js
194 stars 121 forks source link

How to add AutoComplete attribute in input of dropdown #79

Closed MohsinBaig101 closed 3 years ago

MohsinBaig101 commented 3 years ago

i am trying to customize input but i did't find a way, how to add custom attribute in dropdown input.

ekwonye-richard commented 3 years ago

What kind of custom attribute are you referring to?

MohsinBaig101 commented 3 years ago

searchable its just a flag, but i want to off autofill in country input

MohsinBaig101 commented 3 years ago

browser cache data is showing in country input, and i want to turn off

MohsinBaig101 commented 3 years ago

like

-" input name="q" type="text" autocomplete="off"/"

How we add html5 attribute in country input

MohsinBaig101 commented 3 years ago

@ekwonye-richard ?

ekwonye-richard commented 3 years ago

Oh snap! I can expose a prop for the searchInput attributes and by default set autoComplete to off. I'll push this changes to v2.

MohsinBaig101 commented 3 years ago

@ekwonye-richard when you will push v2 ?

ekwonye-richard commented 3 years ago

v2 has been pushed @MohsinBaig101

ekwonye-richard commented 3 years ago

We can close this issue now, let me know if you have any issues