fix: update labels for file upload fields in CooperationForm and JournalistForm

This commit is contained in:
Yoga Pangestu 2026-04-09 09:35:54 +07:00
parent 6e2af6c31c
commit f923e9d424
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ public static function configure(Schema $schema): Schema
->helperText('Format yang diterima: JPEG, PNG, GIF, WEBP. Ukuran maksimum: 3 MB.'),
AdvancedFileUpload::make('proposal_template')
->label('Template Pengajuan (PDF)')
->label('Template Pengajuan')
->disk(config('filesystems.default'))
->acceptedFileTypes(['application/pdf'])
->maxSize(1024 * 10)

View File

@ -71,14 +71,14 @@ public static function configure(Schema $schema): Schema
->map(function (array $doc): array {
return [
TextInput::make($doc['text_name'])
->label('Nomor Identitas ('.$doc['title'].')')
->label($doc['title'])
->placeholder($doc['placeholder'])
->autocomplete(false)
->required()
->maxLength($doc['max']),
AdvancedFileUpload::make($doc['file_name'])
->label('File Pendukung ('.$doc['title'].') (PDF)')
->label('File Pendukung ('.$doc['title'].')')
->disk(config('filesystems.default'))
->acceptedFileTypes($doc['accept'])
->directory(fn (): string => 'journalists/'.$doc['folder'].now()->toDateString())