© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
8 replies
Nobody

How to set the DateTimePicker in the minutes section

how do I set the DateTimePicker in the minutes section to only display 30 or 00? so that in the minutes section you can only select the 30th minute or the 0th minute and no other minutes?
this is my DateTimePicker code

DateTimePicker::make('pickupBefore')
                        ->required()

                        ->seconds(false)
                        ->minDate(now()->toDateTimeLocalString(unitPrecision: 'minute'))
                        ->label('Pickup Before'),
DateTimePicker::make('pickupBefore')
                        ->required()

                        ->seconds(false)
                        ->minDate(now()->toDateTimeLocalString(unitPrecision: 'minute'))
                        ->label('Pickup Before'),
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Set default value of DateTimePicker
FilamentFFilament / ❓┊help
3y ago
How to clear DateTimePicker field?
FilamentFFilament / ❓┊help
16mo ago
Datetimepicker in tables
FilamentFFilament / ❓┊help
2y ago
How to add button to Datetimepicker?
FilamentFFilament / ❓┊help
12mo ago