Skip to content

Conversation

@antoinechassagne
Copy link
Member

@antoinechassagne antoinechassagne commented Dec 16, 2025

This PR fixes a bug with the <SelectField /> ( + allowArbitraryValues={true} and searchable={true}) component where selecting an option does not update the field value with the selected option's one but with the searched term instead. It happens because the input's blur event triggers before the option's click. We now keep track of the option being clicked to prevent triggering onSelectOption() from the internal onBlur_().

Before :

Screen.Recording.2025-12-16.at.14.09.48.mov

After :

Screen.Recording.2025-12-16.at.14.10.46.mov

@dackmin dackmin merged commit 67b60bc into master Jan 8, 2026
6 checks passed
@dackmin dackmin deleted the fix/select-field-search-with-arbitrary-values branch January 8, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants