This commit is contained in:
f4ilji
2024-12-06 19:58:38 +05:00
parent 05e99d4e20
commit f51033330d
12 changed files with 68 additions and 44 deletions
@@ -67,7 +67,7 @@ class AdditionalEducationResource extends Resource
TextInput::make('slug')->label('Slug')->unique(ignoreRecord: true)->readOnly()->required(),
Forms\Components\Select::make('category_id')->required()->label('Категория')
->options(AdditionalEducationCategory::where('is_active', true)->pluck('title', 'id'))
->options(AdditionalEducationCategory::where('is_active', true)->pluck('title', 'id'))->preload()->searchable()
]),
Forms\Components\TextInput::make('target_group')->required()->columnSpanFull()->label('Целевая аудитория'),
Forms\Components\TextInput::make('qualification')->required()->columnSpanFull()->label('Присваиваемая квалификация'),