Add labels for various fields across HR resources to improve localization and user experience.
This commit is contained in:
@@ -16,10 +16,12 @@ class EmployeeDocumentForm
|
||||
->components([
|
||||
HrForm::employeeSelect(),
|
||||
Select::make('document_type')
|
||||
->label(__('hr.fields.document_type'))
|
||||
->options(DocumentType::class)
|
||||
->required()
|
||||
->native(false),
|
||||
TextInput::make('title')
|
||||
->label(__('hr.fields.title'))
|
||||
->required()
|
||||
->maxLength(255),
|
||||
HrForm::fileUpload('file_path')
|
||||
|
||||
Reference in New Issue
Block a user