Spin buttons currently don't prevent the default browser action in their click handler, resulting in unintended side effects – for example, spin buttons within forms causing the page to reload as the browser "submits" the form. This change makes {{#spin-button action=(action 'save')}} behave the same as <button {{action 'save'}}>.
Hey @ivanvanderbyl, thanks for merging this – any chance you could roll a new point release? I have a project that needs this fix, and right now I'm using a GitHub URL in package.json to get it.
Spin buttons currently don't prevent the default browser action in their
click
handler, resulting in unintended side effects – for example, spin buttons within forms causing the page to reload as the browser "submits" the form. This change makes{{#spin-button action=(action 'save')}}
behave the same as<button {{action 'save'}}>
.