You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you have a form with a numeric input, if you try to increase or decrease the value, the button triggers the submission of the form.
The text was updated successfully, but these errors were encountered:
Describe the bug When you have a form with a numeric input, if you try to increase or decrease the value, the button triggers the submission of the form.
hi @roffus, can you write code that reproduces this error?
I'm using useForm hook, but I think it's not related to that library.
I see that the two buttons (.input-number-add and .input-number-sub) has not a type attribute and the default is submit.
So probably it's enough to add type:"button" to solve this issue
Describe the bug
When you have a form with a numeric input, if you try to increase or decrease the value, the button triggers the submission of the form.
The text was updated successfully, but these errors were encountered: