You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am unsure if this is the best way, but I am trying to set the default date to open the calendar on the day, month, and year set on the default using the singleCalendar option. This is to be able to edit the Date of Birth.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am unsure if this is the best way, but I am trying to set the default date to open the calendar on the day, month, and year set on the default using the singleCalendar option. This is to be able to edit the Date of Birth.
DateRangePicker::make('dob')
->default('1990-01-01')
->singleCalendar()
->showDropdowns()
->disableRanges()
->autoApply()
->format('DD/MM/YYYY')
->displayFormat('DD/MM/YYYY'),
Beta Was this translation helpful? Give feedback.
All reactions