The prop autoHighlight by default is true. So in my case, I'm setting it to false as I don't want the first result to be highlighted and disabling enter on my first result. This seems to work well. But when I search for a user in the input box and use my arrow down keys to see the results. If I clear the result and again enter a new value in the search box, the first result seems to be highlighted and again the enter key is enabled.
At all times I want the search for the first result not to be highlighted and enter key should always be disabled though if I use my arrow keys or not
The prop autoHighlight by default is true. So in my case, I'm setting it to false as I don't want the first result to be highlighted and disabling enter on my first result. This seems to work well. But when I search for a user in the input box and use my arrow down keys to see the results. If I clear the result and again enter a new value in the search box, the first result seems to be highlighted and again the enter key is enabled.
At all times I want the search for the first result not to be highlighted and enter key should always be disabled though if I use my arrow keys or not