Disable browser suggestion for ComboBox element
Closed this issue · 2 comments
neetra commented
Describe the bug (actual behavior)
Shows suggestions from browser as well as comboBox options.
Expected behavior
Disable auto- suggestion from the browser for ComboBox element.
Reproduction
click on the dropdown, you can see suggestions from drop-down
Problem:
• The ComboBox, does not allow to add autocomplete = off property
• Work around : Add property to
mayank99 commented
Thanks for the issue @neetra. I think some information is missing in your issue description or just jumbled up. Can you double check? A code sample or a link to a sandbox would help.
If you're trying to pass dom attributes to the native <input>
element inside the combobox, then you need to do it through inputProps
.
<ComboBox
options={options}
inputProps={{ autocomplete: 'off' }}
/>
neetra commented
Thanks . It works .
However, I was unable find it in
- core-combobox--basic document
- Not even