[Bug] Change Search Button Type to submit for Clarity #292
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟩 priority: low
Low priority and doesn't need to be rushed
🧹 status: ticket work required
Needs more details before it can be worked on
💬 talk: discussion
Open for discussions and feedback
Description
The current implementation of the search feature uses a
button
element that does not specify a type. This can lead to inconsistent behavior across different browsers and may prevent the form from submitting correctly.Expectation
The button should be of type
submit
to indicate its purpose clearly. While the form submits as expected, It is better to change the type tosubmit
so as to improve code clarity and maintainability across various browsers.Environment
Resolution
The text was updated successfully, but these errors were encountered: