Open hasanboymarufjonov opened 10 months ago
I can select input value by onSelect. But if I write something not on the list, I can't select it.
onChange={(e) => setName(e.target.value)}
onChange should work.
For anyone facing this problem: you can use onSearch instead of onChange. onSearch seems to be just a regular onChange with an extra argument (results array that matches the current text).
I can select input value by onSelect. But if I write something not on the list, I can't select it.
onChange should work.