Button elements have a default type value of "submit", which will automatically submit a parent form when the user hits enter. This is typically not desired behaviour.
To prevent this, lets default the "type" attribute to "button".
This will be a breaking change, so will require a major version bump.
Button elements have a default type value of "submit", which will automatically submit a parent form when the user hits enter. This is typically not desired behaviour.
To prevent this, lets default the "type" attribute to "button".
This will be a breaking change, so will require a major version bump.