Nothing Special   »   [go: up one dir, main page]

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

SearchForm search button is not interactive #2976

Closed
rlyonbox opened this issue Aug 8, 2022 · 1 comment · Fixed by #3013
Closed

SearchForm search button is not interactive #2976

rlyonbox opened this issue Aug 8, 2022 · 1 comment · Fixed by #3013

Comments

@rlyonbox
Copy link
rlyonbox commented Aug 8, 2022

Reported by Boxer, created on their behalf: "Nothing happens when clicking on the magnifying glass in the [ContextExplorerModal]"

Digging into the code a little, this resolves to the type attribute on the button which renders the magnifying glass being button instead of submit on this line:

Resolution is trivial, 1 line change, but I'm not sure the provenance of using type=button in the first place.

@greg-in-a-box
Copy link
Contributor
greg-in-a-box commented Aug 10, 2022

Agree with changing the <button/> type to a submit. The unit test needs to be updated to simulate clicking on the button and not invoking the submit event directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants