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

Remove clear on blur #129

Merged
merged 2 commits into from
Nov 15, 2023
Merged

Remove clear on blur #129

merged 2 commits into from
Nov 15, 2023

Conversation

TyHil
Copy link
Member

@TyHil TyHil commented Nov 13, 2023

Saw this handy prop in the MUI API and always thought it was annoying that the search cleared when you deselect it.

https://mui.com/material-ui/api/autocomplete/#Autocomplete-prop-clearOnBlur

@TyHil TyHil requested a review from iamwood as a code owner November 13, 2023 21:10
Copy link

vercel bot commented Nov 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
utd-trends ✅ Ready (Inspect) Visit Preview Nov 13, 2023 9:10pm

@Jake3231
Copy link
Contributor

Is the expected behavior change that when you click away from the search bar without selecting something it will not remove the text field value?

@TyHil
Copy link
Member Author

TyHil commented Nov 14, 2023

Yes. This prevents you from losing your incomplete search when navigating to another tab or doing anything else

@TyHil TyHil merged commit 0f202e3 into develop Nov 15, 2023
3 checks passed
@TyHil TyHil deleted the remove-clearOnBlur branch November 15, 2023 17:44
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.

2 participants