diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 29a2cf75a4..153eb1b4cc 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -121,6 +121,9 @@ An element or component can have multiple spread attributes, interspersed with r ``` + +> The `value` attribute of an `input` element or its children `option` elements must not be set with spread attributes when using `bind:group` or `bind:checked`. Svelte needs to be able to see the element's `value` directly in the markup in these cases so that it can link it to the bound variable. + --- ### Text expressions