F
Filament13mo ago
Sidem

Remove years

Hi ! I would like to remove years of my inpute Date :
DatePicker::make('firstDate')
->label('1ere Date vérification')
->time(false)
->format('m/d/y')
->columnSpan(2),
DatePicker::make('firstDate')
->label('1ere Date vérification')
->time(false)
->format('m/d/y')
->columnSpan(2),
You know how to do it ?
4 Replies
einnlleinhatt_
einnlleinhatt_13mo ago
Your format is mdy, what happend if you only put m/d ?
Sidem
SidemOP13mo ago
he still puts the year
toeknee
toeknee13mo ago
displayFormat Or just use a select.
einnlleinhatt_
einnlleinhatt_13mo ago
I think you can use flat picker plugin and just use monthSelect()
Want results from more Discord servers?
Add your server