Skip to content

Commit 219ad82

Browse files
committed
update search field docs
1 parent 00a4d93 commit 219ad82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v6/field-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ For a multi value field,
461461
$form->search('Links')->multiple();
462462
```
463463

464-
! Note, the search field only works for Administrator users because it allows full search access to content using the REST API. You can remove the Administrator-only access limitation by modifying the 'search' middleware group in the HTTP Kernel. You can edit your HTTP Kernel at `app/Http/Kernel.php`.
464+
! Note, the search field only works for Administrator users because it allows full search access to content using the REST API. You can remove the Administrator-only access limitation by modifying the 'search' middleware group in the HTTP Kernel. You can edit your HTTP Kernel at `app/Http/Kernel.php` and remove the `AuthAdmin::class` middleware from the 'search' group.
465465

466466
### Search Post Types
467467

0 commit comments

Comments
 (0)