FilamentF
Filament12mo ago
sohail

Datepicker return time how to return date only

Hi i have a filament datepicker input but it also return time with but i only want the date and not time is the a way to do that i dont want to use the native date picker

i like the javascript version and due to is return time so i does not let me select the current date when i do i get a error because the time is wrong but there is no time selector


  DatePicker::make('start_date')
  ->time(false)
  ->prefixIcon('fal-calendar-arrow-up')
  ->minDate(Carbon::now())
  ->native(false)
  ->required(),
Screenshot_2024-12-25_at_22-07-32_Contest_App.png
Was this page helpful?