In support of DH-16336, the usePickerWithSelectedValues hook needs to be able to handle non-trimmed search text but to base its return boolean flags on the trimmed value (hasSearchTextWithZeroResults, searchTextExists, searchTextIsInSelectedValues). It might be best to configure this with an optional input arg or something so that the current behavior can also be supported.
In support of DH-16336, the
usePickerWithSelectedValueshook needs to be able to handle non-trimmed search text but to base its return boolean flags on the trimmed value (hasSearchTextWithZeroResults,searchTextExists,searchTextIsInSelectedValues). It might be best to configure this with an optional input arg or something so that the current behavior can also be supported.