Add labels for various fields across HR resources to improve localization and user experience.
This commit is contained in:
@@ -16,12 +16,15 @@ class ExplanationForm
|
||||
->components([
|
||||
HrForm::employeeSelect(),
|
||||
DatePicker::make('explanation_date')
|
||||
->label(__('hr.fields.explanation_date'))
|
||||
->required()
|
||||
->default(now()),
|
||||
TextInput::make('reason')
|
||||
->label(__('hr.fields.reason'))
|
||||
->required()
|
||||
->maxLength(255),
|
||||
Textarea::make('description')
|
||||
->label(__('hr.fields.description'))
|
||||
->required()
|
||||
->rows(4)
|
||||
->columnSpanFull(),
|
||||
|
||||
Reference in New Issue
Block a user