mirror of https://github.com/sveltejs/svelte
fix: validate form inside a form (#11947)
* fix: validate form inside a form * chore: remove form from interactive elements and add specific checkpull/11966/head
parent
48fa6587c9
commit
57ca37d6a1
@ -0,0 +1,5 @@
|
||||
---
|
||||
"svelte": patch
|
||||
---
|
||||
|
||||
fix: validate form inside a form
|
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"code": "node_invalid_placement",
|
||||
"message": "<form> is invalid inside <form>",
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 3
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 10
|
||||
}
|
||||
}
|
||||
]
|
@ -0,0 +1,9 @@
|
||||
<div>
|
||||
<form>
|
||||
<div>
|
||||
<form>
|
||||
<input />
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
Loading…
Reference in new issue