Why do forms auto-submit when the state changes?

hey, I have a simple scaffolded component containing a redwood Form element

when I try to add a button that toggles some hidden form elements with a state variable, it submits the form when the state changes

am I doing it wrong? is there a good way to do this?

actually I was wrong, if you have a non submit button and don’t prevent default it submits anyway, weird