box/box-ui-elements

SearchForm search button is not interactive

rlyonbox opened this issue · 1 comments

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.

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