Skip to content

Commit

Permalink
Remove canSelectAll example
Browse files Browse the repository at this point in the history
It looks like this parameter was reverted and replaced with a keyboard shortcut. See the PR here: laravel/prompts#147
  • Loading branch information
pelmered authored Aug 21, 2024
1 parent 24a9f99 commit 81c0167
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions prompts.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,16 +421,6 @@ $categories = multiselect(
);
```

You may allow the user to easily select all options via the `canSelectAll` argument:

```php
$categories = multiselect(
label: 'What categories should be assigned?',
options: Category::pluck('name', 'id'),
canSelectAll: true
);
```

<a name="multiselect-required"></a>
#### Requiring a Value

Expand Down

0 comments on commit 81c0167

Please sign in to comment.