I want a user to be able to type into the textbox and press enter, and if there's an option with the search's name then it should be added as a selected item. Is this possible?
I'm currently using onKeyPressFn() to capture the key stroke and see if enter was pressed, but I have no knowledge of how to manually assign a selected value.
I want a user to be able to type into the textbox and press enter, and if there's an option with the search's name then it should be added as a selected item. Is this possible?
I'm currently using onKeyPressFn() to capture the key stroke and see if enter was pressed, but I have no knowledge of how to manually assign a selected value.