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

Fix population of search box from QS. #4400

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

jrobbins
Copy link
Collaborator

This fixes the case where the user visits a URL that has a ?q=something query-string parameter by making that something appear in the search box. It was being passed in from the parent element, but that was not having any effect because the query property was defined using @state instead of @property.

@jrobbins
Copy link
Collaborator Author

Thanks for the quick review. Actually, this was part of #4332 already, but I forgot it was in there. It's better to merge it as a separate fix. So, I'll do that.

@jrobbins jrobbins merged commit 9f17cc8 into main Sep 27, 2024
7 checks passed
@jrobbins jrobbins deleted the 20240927-populate-search-box-from-qs branch September 27, 2024 17:30
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