mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
improve searchbox extra
This commit is contained in:
@@ -40,7 +40,7 @@ class CategoryResource extends Resource
|
||||
return $form
|
||||
->schema([
|
||||
Forms\Components\Select::make('mode')
|
||||
->options(SearchBox::query()->pluck('name', 'id')->toArray())
|
||||
->options(SearchBox::listModeOptions())
|
||||
->label(__('label.search_box.label'))
|
||||
->required()
|
||||
,
|
||||
|
||||
Reference in New Issue
Block a user