refactor: change display format for date input
This commit is contained in:
parent
7915e1ce38
commit
969fc0c4a0
@ -36,14 +36,14 @@ public static function configure(Schema $schema): Schema
|
||||
->schema([
|
||||
DatePicker::make('initial_submission_date')
|
||||
->label('Tanggal Pengajuan Awal')
|
||||
->placeholder(fn (): string => now()->format('Y-m-d'))
|
||||
->placeholder(fn (): string => now()->format('l, d F Y'))
|
||||
->native(false)
|
||||
->displayFormat('l, d F Y')
|
||||
->required(),
|
||||
|
||||
DatePicker::make('final_submission_date')
|
||||
->label('Tanggal Pengajuan Akhir')
|
||||
->placeholder(fn (): string => now()->addDays(30)->format('Y-m-d'))
|
||||
->placeholder(fn (): string => now()->addDays(30)->format('l, d F Y'))
|
||||
->native(false)
|
||||
->displayFormat('l, d F Y')
|
||||
->required()
|
||||
|
||||
@ -62,7 +62,7 @@ public static function configure(Schema $schema): Schema
|
||||
|
||||
DatePicker::make('posting_date')
|
||||
->label('Tanggal Posting')
|
||||
->placeholder(fn (): string => now()->format('Y-m-d'))
|
||||
->placeholder(fn (): string => now()->format('l, d F Y'))
|
||||
->native(false)
|
||||
->displayFormat('l, d F Y')
|
||||
->required(),
|
||||
|
||||
@ -91,7 +91,7 @@ public static function configure(Schema $schema): Schema
|
||||
|
||||
DatePicker::make('release_date')
|
||||
->label('Tanggal Rilis')
|
||||
->placeholder(fn (): string => now()->format('Y-m-d'))
|
||||
->placeholder(fn (): string => now()->format('l, d F Y'))
|
||||
->native(false)
|
||||
->displayFormat('l, d F Y')
|
||||
->required(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user