F
Filament14mo 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_14mo ago
Your format is mdy, what happend if you only put m/d ?
Sidem
SidemOP14mo ago
he still puts the year
toeknee
toeknee14mo ago
displayFormat Or just use a select.
einnlleinhatt_
einnlleinhatt_14mo ago
I think you can use flat picker plugin and just use monthSelect()

Did you find this page helpful?