dnwjn / nova-button

A Nova package for rendering buttons on different views.
MIT License
10 stars 6 forks source link

Missing button type attribute #19

Closed adamturcsan closed 2 years ago

adamturcsan commented 2 years ago

If a button's type is not set, the "submit" type is assumed. Hence the browser tries a submit event on the current form.

It is definitely not expected.

It is good practice to always set the button's type.

dnwjn commented 2 years ago

Closed by #20.