Skip to content

Commit acba4b7

Browse files
docs: clarify bindings for <select multiple> (#8260)
Co-authored-by: Ben McCann <[email protected]>
1 parent d925396 commit acba4b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/03-template-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ A `<select>` value binding corresponds to the `value` property on the selected `
663663

664664
---
665665

666-
A `<select multiple>` element behaves similarly to a checkbox group.
666+
A `<select multiple>` element behaves similarly to a checkbox group. The bound variable is an array with an entry corresponding to the `value` property of each selected `<option>`.
667667

668668
```sv
669669
<select multiple bind:value={fillings}>

0 commit comments

Comments
 (0)