-
Notifications
You must be signed in to change notification settings - Fork 5
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
Cannot use it within the <form>
#6
Comments
metonym
added a commit
that referenced
this issue
Jun 7, 2021
Merged
metonym
added a commit
that referenced
this issue
Jun 7, 2021
* chore(example): upgrade deps * fix(accordion-item): use onMount instead of onDestroy * fix(accordion-item): add type="button" to button #6 * docs: document disabled state, reactivity * chore(deps-dev): upgrade svelte-check * test: test more props
@smiile8888 Thank you for raising this issue. Published to npm in version 1.0.2 |
@metonym Thank you very much for addressing the issue 😄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
I wanted to use it in the
<form>
but the accordion using the<button>
and it becomestype="submit"
automatically when using with<form>
Expected:
Can use as a normal accordion even it's used in the
<form>
, maybetype="button"
could be added to theAccordionItem
componentI'm not sure is there a way or any prop I can pass to prevent it?
Thank you!
The text was updated successfully, but these errors were encountered: