--- title: Select multiple --- A select can have a `multiple` attribute, in which case it will populate an array rather than selecting a single value. Returning to our [earlier ice cream example](/tutorial/group-inputs), we can replace the checkboxes with a ` {#each menu as flavour} {/each} ``` > Press and hold the `control` key (or the `command` key on MacOS) for selecting multiple options.