Closed zenlex closed 4 years ago
Changed 'search' button to type = submit Removed onClick handler from 'search' button Assigned onSubmit={submitHandler} to
https://github.com/codeforgso/GoVote/issues/162
Accessibility best practices and ease of usage.
Tested in localhost on the link in the issue as well as the 'can I vote' instance of the form. Both work as expected.
Description
Changed 'search' button to type = submit Removed onClick handler from 'search' button Assigned onSubmit={submitHandler} to