Skip to content

feat: DH-16336: usePickerWithSelectedValues - boolean flags should be calculated based on trimmed search text #1747

@bmingles

Description

@bmingles

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions