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

Did you find this page helpful?