Closed bencallaway closed 2 years ago
A <button> element's type attribute can be omitted, and if so its implicit value is "submit".
<button>
I would expect Formular::Element::Button.(value: 'foo') { 'Foo' } to produce
Formular::Element::Button.(value: 'foo') { 'Foo' }
<button value="foo">Foo</button>
instead of
<button value="foo" type="button">Foo</button>
I realize would be a 'breaking' change since the last commit , but if it's an admissible change I can submit a PR
A
<button>
element's type attribute can be omitted, and if so its implicit value is "submit".I would expect
Formular::Element::Button.(value: 'foo') { 'Foo' }
to produceinstead of
I realize would be a 'breaking' change since the last commit , but if it's an admissible change I can submit a PR