mirror of https://github.com/sveltejs/svelte
parent
9e5fe33b9c
commit
23ecd3db29
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"code": "bind_invalid_target",
|
||||
"message": "`bind:checked` can only be used with <input type=\"checkbox\"> — for <input type=\"radio\">, use 'group' binding",
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 20
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 38
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
let foo;
|
||||
</script>
|
||||
|
||||
<input type="radio" bind:checked={foo}>
|
||||
Loading…
Reference in new issue