From 253193107a17bef7251fcb48eb842f68edb7b49a Mon Sep 17 00:00:00 2001 From: abirtley Date: Thu, 27 Apr 2023 10:00:23 +1000 Subject: [PATCH 1/2] Update 03-template-syntax.md Clarify documentation around when bind:group does and does not work. See issue https://github.com/sveltejs/svelte/issues/2308 --- site/content/docs/03-template-syntax.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/content/docs/03-template-syntax.md b/site/content/docs/03-template-syntax.md index 170c303b8524..439e1cae4a89 100644 --- a/site/content/docs/03-template-syntax.md +++ b/site/content/docs/03-template-syntax.md @@ -823,6 +823,8 @@ Inputs that work together can use `bind:group`. ``` +**Note**: `bind:group` only works if the inputs are in the same Svelte component. + #### bind:this ```sv From e1444f84855d500f9faa3729e1afc2440961befb Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Thu, 27 Apr 2023 16:34:06 +0200 Subject: [PATCH 2/2] Update site/content/docs/03-template-syntax.md --- site/content/docs/03-template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/03-template-syntax.md b/site/content/docs/03-template-syntax.md index 439e1cae4a89..d20e3be15295 100644 --- a/site/content/docs/03-template-syntax.md +++ b/site/content/docs/03-template-syntax.md @@ -823,7 +823,7 @@ Inputs that work together can use `bind:group`. ``` -**Note**: `bind:group` only works if the inputs are in the same Svelte component. +> `bind:group` only works if the inputs are in the same Svelte component. #### bind:this