Update default post status to published and enforce unique group names

This commit is contained in:
F4ilji
2025-11-20 15:05:04 +05:00
parent de4f8e27b8
commit 56935abfc0
3 changed files with 4 additions and 3 deletions
@@ -40,6 +40,7 @@ class EducationalGroupResource extends Resource
->required()
->maxLength(50)
->placeholder('Например: ИВТ-21-1')
->unique()
->helperText('Введите краткое название группы в принятом формате'),
Select::make('faculty_id')