Enhance EmployeeForm by adding native date picker support for hire and termination dates, improving localization and user experience.
This commit is contained in:
1 parent
e16402b23f
commit
76416de568
1 file changed
+6
-2
@@ -99,9 +99,13 @@ public static function configure(Schema $schema): Schema
|
||||
->native(false),
|
||||
DatePicker::make('hire_date')
|
||||
->label(__('hr.fields.hire_date'))
|
||||
->required(),
|
||||
->required()
|
||||
->native(false),
|
||||
|
||||
DatePicker::make('termination_date')
|
||||
->label(__('hr.fields.termination_date')),
|
||||
->label(__('hr.fields.termination_date'))
|
||||
->native(false),
|
||||
|
||||
Textarea::make('notes')
|
||||
->label(__('hr.fields.notes'))
|
||||
->rows(4)
|
||||
|
||||
Reference in new issue
Block a user