TimePicker default doesn't work

I can't find how to set a default time to TimePicker object in form. This code doesn't work :
TimePicker::make('duree_seance')->default('01:00')->seconds(false)->native(false)
TimePicker::make('duree_seance')->default('01:00')->seconds(false)->native(false)
Solution:
Try to use a Carbon object rather than a string
Jump to solution
2 Replies
SheepBild
SheepBildOP13mo ago
Up, any idea ?
Solution
josef
josef13mo ago
Try to use a Carbon object rather than a string
Want results from more Discord servers?
Add your server