Explicitely add type="button" in accordion button

It is recommended to add type=“button” in an accordion to avoid that clicking to open/close an accordion in a form submit the form.

#Expanding accordion causes forms to submit · Issue #5206 · valor-software/ngx-bootstrap · GitHub

Perhaps BSS could add it automatically ? What do you think ?

1 Like

Thank you for the suggestion! We will add type=“button” to the accordion buttons in our next update.


So fast added to BSS ! You’re wonderful ! This is a time saver when creating big forms templates ! :slight_smile: