Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accordion TRIGGER BUTTON must have type="button" #167

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

pierry01
Copy link
Contributor

@pierry01 pierry01 commented Oct 23, 2024

The accordion trigger uses a button to open and close its content. The issue was that this button did not have its type set to button, causing it to submit forms by mistake. Upon inspecting the Shadcn Accordion, we can see it uses type="button"

Screenshot 2024-10-23 at 11 20 29

@cirdes cirdes merged commit f6129a9 into ruby-ui:main Oct 23, 2024
4 checks passed
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.

2 participants