Any insight as to why that's the default behavior?
Have they historically been first introduced without this attribute, so their only purpose would be to submit the surrounding form with their value attribute?
Back when I didn't know about this, I also expected the same behavior as you, an inert behavior (thinking that type="submit" was enough of a no-js solution for forms, since "reset" would also have been available since time immemorial)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Any insight as to why that's the default behavior?
Have they historically been first introduced without this attribute, so their only purpose would be to submit the surrounding form with their
value
attribute?Back when I didn't know about this, I also expected the same behavior as you, an inert behavior (thinking that
type="submit"
was enough of a no-js solution for forms, since"reset"
would also have been available since time immemorial)