Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v11.0.x] Select: Fixes issue preserving search term (input) when selecting a value #87249

Merged
merged 1 commit into from May 2, 2024

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 281d785 from #87013


Fixes an issue with preserving the search query & filtering after selecting a value, even after doing the correct onInputChange implementation according to the react select docs it did not work as our middleware implementation did not take into account scenarios where we want to preserve the search query after selection and always cleared the "hasInputValue" state which sets filterOption to null which disabled search filtering.

Related to grafana/scenes#709

@grafana-delivery-bot grafana-delivery-bot bot requested a review from a team as a code owner May 2, 2024 15:15
@grafana-delivery-bot grafana-delivery-bot bot requested review from tskarhed and L-M-K-B and removed request for a team May 2, 2024 15:15
@grafana-delivery-bot grafana-delivery-bot bot added this to the 11.0.x milestone May 2, 2024
@torkelo torkelo merged commit 445f413 into v11.0.x May 2, 2024
21 checks passed
@torkelo torkelo deleted the backport-87013-to-v11.0.x branch May 2, 2024 16:44
@fabrizio-grafana fabrizio-grafana modified the milestones: 11.0.x, 11.0.0 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants