mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
breaking(form): do not prevent default behavior on submit event (#1170)
* breaking(form): do not prevent default behavior on submit event * docs(form): add "Prevent default behavior" example
This commit is contained in:
parent
2657ce71c2
commit
ef46f350be
2 changed files with 15 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave
|
||||
on:submit|preventDefault
|
||||
on:submit
|
||||
>
|
||||
<slot />
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue