F
Filament3mo ago
Zen

Default time with native(false) does not get state

Please advise. Forms\Components\DatePicker::make('current_recorded_at') ->required() ->native(false) ->displayFormat('d/m/Y') ->default(now()->format('Y-m-d H:i:s')), I can see the default time in the input field, but when I submit it validate that no enter the field yet. How would I solve this issue.?
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin