Is there a way with react-select v2 to search for multiple values at once? Like I could have my user paste in a list of comma or space separated values and items matching those results would display in the dropdown.
Example react-select (we call them item pickers):
<StyledFormItemPicker
className="emailPicker"
filterKeys={['label']}
label="email picker"
value={emailPickerValue}
onChange={value => onEmailPickerChange(value)}
items={users}
isMulti={true}
/>
onChange code:
// allow user to pass in comma separated list to search
export const onEmailPickerChange = props => event => {
event.persist();
// split event (value) on space or comma
// push to an array
// set that array of strings as the value and see all results?
};