Bug Report
The button used to expand/collapse is not of type "button". This leads any form to be submitted on click.
Expected Behavior
The button must be a button type="button" to avoid submitting forms.
Current Behavior
No type defined, so browser default button type="submit" is assumed and used.
Possible Solution
add type="button" to the collapse/expand button
Steps to Reproduce
Put a mad-card in a form and try to expand/collapse it.