Skip to content

Commit

Permalink
Update 03-template-syntax.md
Browse files Browse the repository at this point in the history
Clarify documentation around when bind:group does and does not work. See issue sveltejs#2308
  • Loading branch information
abirtley committed Apr 27, 2023
1 parent f064c39 commit 2531931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/content/docs/03-template-syntax.md
Expand Up @@ -823,6 +823,8 @@ Inputs that work together can use `bind:group`.
<input type="checkbox" bind:group={fillings} value="Guac (extra)">
```

**Note**: `bind:group` only works if the inputs are in the same Svelte component.

#### bind:this

```sv
Expand Down

0 comments on commit 2531931

Please sign in to comment.