Skip to content

Commit 64a1420

Browse files
sync svelte docs
1 parent 0344642 commit 64a1420

File tree

1 file changed

+3
-1
lines changed
  • apps/svelte.dev/content/docs/svelte/03-template-syntax

1 file changed

+3
-1
lines changed

apps/svelte.dev/content/docs/svelte/03-template-syntax/12-bind.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Since 5.6.0, if an `<input>` has a `defaultValue` and is part of a form, it will
9696
9797
## `<input bind:checked>`
9898

99-
Checkbox and radio inputs can be bound with `bind:checked`:
99+
Checkbox inputs can be bound with `bind:checked`:
100100

101101
```svelte
102102
<label>
@@ -118,6 +118,8 @@ Since 5.6.0, if an `<input>` has a `defaultChecked` attribute and is part of a f
118118
</form>
119119
```
120120

121+
> [!NOTE] Use `bind:group` for radio inputs instead of `bind:checked`.
122+
121123
## `<input bind:indeterminate>`
122124

123125
Checkboxes can be in an [indeterminate](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate) state, independently of whether they are checked or unchecked:

0 commit comments

Comments
 (0)