Skip to content

Conversation

@enguerranws
Copy link
Collaborator

I'm trying to implement the Accordion component to make a multi-step form.

I noticed that right now, the button to toggle the Accordion has its default type (submit): when used in a form, it submits the form. I know this is a edge case, but I think it's less restrictive to use a type="button".

@enguerranws enguerranws force-pushed the feature/fix-control-on-controlled-accordion branch from b1edbbe to 6cf386a Compare May 16, 2023 12:29
@garronej
Copy link
Collaborator

No doubt!
Thanks for your contrib!
PS: Next week we finish the SelectNext if you have some time available?

@garronej garronej merged commit 8903813 into main May 16, 2023
@garronej garronej deleted the feature/fix-control-on-controlled-accordion branch May 16, 2023 13:22
sbourdon13 pushed a commit to sbourdon13/react-dsfr that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants