Skip to content

Commit 7ee2ca4

Browse files
Fix missing text import (#10362)
1 parent 019e51a commit 7ee2ca4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

prompts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ If you need more granular control over a prompt in a form, you may invoke the `a
812812
```php
813813
use function Laravel\Prompts\form;
814814
use function Laravel\Prompts\outro;
815+
use function Laravel\Prompts\text;
815816

816817
$responses = form()
817818
->text('What is your name?', required: true, name: 'name')

0 commit comments

Comments
 (0)