Replies: 1 comment 2 replies
-
Hello @hermbo, you have to manage the const [inputValue, setInputValue] = useState('');
<Select
inputValue={inputValue}
onInputChange={(val, { action }) => {
// Check if the cause of the change is not a selected option
if (action !== 'set-value') {
setInputValue(val);
return val;
}
return inputValue;
}}
isMulti
closeMenuOnSelect={false}
/> Additionally you have to set the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My client wants to have the search filtered options stay in place after making selections. The current way it works is you enter some text and when you choose an option it stores it, removes your search term and resets all your original options. Requiring you to do it again if your wanting to select multiple options with that same search term.
How can I work around this? I want to be able to enter a search term, then select multiple options without retyping each time.
Beta Was this translation helpful? Give feedback.
All reactions