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
Thanks for the great lib, i have been finding time picker library to use for my reactjs app, and this is by far the most suitable.
However, there seems to be a bug/unwanted side effect from picking a time in a form.
When you put the input in a form, and set in the option to attach clocklet to the parent, it results in the form submitting after you pick a time. After much digging i found out that this is because all the minute/hour hands are buttons, which didn't specify type="button", therefore resulting in the default behaviour of submitting a form its in.
I have seen through your source code, i believe a potential change to add type="button" is in ClockletDial.
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for the great lib, i have been finding time picker library to use for my reactjs app, and this is by far the most suitable.
However, there seems to be a bug/unwanted side effect from picking a time in a form.
When you put the input in a form, and set in the option to attach clocklet to the parent, it results in the form submitting after you pick a time. After much digging i found out that this is because all the minute/hour hands are buttons, which didn't specify type="button", therefore resulting in the default behaviour of submitting a form its in.
I have seen through your source code, i believe a potential change to add type="button" is in ClockletDial.
The text was updated successfully, but these errors were encountered: