AutoCompleteCreatable is shown on empty input
See original GitHub issueWhen AutoCompleteCreatable
is set with openOnFocus
or suggestWhenEmpty
the AutoCompleteCreatable
is shown “empty”
{({ value }) => <span>Add {value} to List</span>}
It’s not really empty but value
is, so I will end with an item called Add to List
Also I noticed that if the list have an option called Apple
for example, it won’t be filtered when the input is Apple
as well
I think this stop to working recently
Reproduction https://codesandbox.io/s/react-hook-form-v7-controller-forked-rb4sk?file=/src/Chakra.js
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Material UI Autocomplete default value of empty string
When passing the default value of empty string to the Autocomplete component, it throws a console warning that the value empty string is...
Read more >[Autocomplete] Clear button does not disappear when the ...
The clear button should not be displayed if the input is empty. Steps to Reproduce. Steps: Create a Autocomplete component with freeSolo bool ......
Read more >Autocomplete API - Material UI - MUI
Name Type Default
options * array
renderInput * func
autoComplete bool false
Read more >How To Turn Off Autocomplete for Input - W3Schools
Learn how to disable autocomplete of an input field. ... Tip: Go to How TO - Autocomplete to learn how to create your...
Read more ><input>: The Input (Form Input) element - HTML
The <input> HTML element is used to create interactive controls for ... displaying the value of the value attribute, empty by default.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in v4.3.3
@anubra266
I’ve put up a pull request to add @gepd! 🎉