TimePicker field not allow to set 24 hrs format.

TimePicker::make('picker')->displayFormat('H:i'),
TimePicker::make('picker')->displayFormat('H:i'),
I tried this but the it not allow to me set 13 for 1 PM, When I type 13 it turn into 1.
3 Replies
dissto
dissto2mo ago
Can you not just pass ->seconds(false) to make it hour format?
TimePicker::make('picker')->displayFormat('H:i')
->seconds(false),
TimePicker::make('picker')->displayFormat('H:i')
->seconds(false),
Probably also saver to use native(false)
dissto
dissto2mo ago
No description
Dan Harrin
Dan Harrin2mo ago
its the native browser time input if you dont want the native browser one you can use the 24 hour js one with ->native(false)
Want results from more Discord servers?
Add your server
More Posts
filament.exports.download giving 404 in multi-database multi-tenancy setupI am using stancl/tenancy for multi database tenancy with filament. I've not enabled tenant featuresHow to display a lot of data (40.000+) into a select dropdown?Do you have any input? This is the first time I've executed this much data, I don't have experienceGet Relation Fieldset State / Set Outside State in Relationship FieldsetForm resources that have fieldset relationship, how to get state that fieldset on outside? just forColorPicker Required BugGuys, I'm trying to use a color picker inside a Custom Livewire Page, using a form from Filament, aHow to get $data in Tables\Actions\CreateAction::make()?I used to get the $data in the form using ->before(function (RelationManager $livewire, array $data,FileUpload::make()->directory('my/secret/sauce') Don't save full URL in DBI have an existing DB, that stores just the file name for image_loc. 'user1.png' is in my DB. NoIs it no longer possible to call Vite in the Panel Providers asset method?I was getting an exception when a fresh install runs `@php artisan package:discover --ansi` ``` IllCreate a custom field with two fields (downloadable)How can i create a custom field that contains a field for title and a upload field to use inside as display null values as 'null'I have a table widget, where I want to display unconfirmed users. How can I display the string 'nullShow a list of options based on another fieldHello devs, how can I show a list of options with Select based on another select element? ```Select