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
Thank you for this component! It's so easy to setup and get working, it's really great!
But there's a problem: I made Coloris pickers out of my <input type="text" /> elements inside a form. When I closed the picker, the form got submitted. After inspecting, I've noticed that a button element is created, but since it has no type attribute it is assumed to be type="submit".
Can you set a default type="button" attribute, please?
The text was updated successfully, but these errors were encountered:
Thank you for this component! It's so easy to setup and get working, it's really great!
But there's a problem: I made Coloris pickers out of my
<input type="text" />
elements inside a form. When I closed the picker, the form got submitted. After inspecting, I've noticed that abutton
element is created, but since it has notype
attribute it is assumed to betype="submit"
.Can you set a default
type="button"
attribute, please?The text was updated successfully, but these errors were encountered: