Skip to content

Commit cdcb337

Browse files
committed
wip
1 parent fddaff4 commit cdcb337

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

prompts.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,14 @@ $categories = multiselect(
421421
);
422422
```
423423

424+
You may allow the user to easily select all options via the `canSelectAll` argument:
425+
426+
$categories = multiselect(
427+
label: 'What categories should be assigned?',
428+
options: Category::pluck('name', 'id'),
429+
canSelectAll: true
430+
);
431+
424432
<a name="multiselect-required"></a>
425433
#### Requiring a Value
426434

0 commit comments

Comments
 (0)