appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.9k stars 466 forks source link

fix(tag mode): strict selection behavior to only allow picking from suggestions #2278

Closed siddharthlatest closed 7 months ago

siddharthlatest commented 8 months ago

This PR fixes a behavior for tag mode where a user setting an input value that is not part of suggestions is not allowed when strictSelection mode is set.

Components this applies to:

For code review, the main changes are in the first two commits: DataSearch code change, SearchBox code change

This change is available in reactivesearch-vue v1.35.3. The changes in this PR should be cherry-picked to Vue v3 version and React v4 versions.