skip to Main Content

Laravel – DatePicker formatting filament v3

Package Version v3.0.0 DatePicker::make('reservation_date') ->label('Rezervasyon Tarihi') ->live(onBlur: true) I went to DatePicker component inside and add: public static string $defaultDateDisplayFormat = "d/m/Y"; However its still showing as "mm/dd/YYYY" on input before selection and after. Is there a solution for me…

VIEW QUESTION

Laravel – FilamentPHP Select input editing

Heyya, I am working on Select FormsComponentsSelect::make('roles')->options(function (){ $roles = Role::pluck('name'); $filtered_roles = $roles->filter(fn($role)=>$role!='super_admin'); return $filtered_roles; })->searchable()->preload()->multiple() Works great. However on the edit page it doesnt show already defined roles for specific user. Each time it show select one of…

VIEW QUESTION

Laravel – Put a modal form in middle of the form in filament v3

How can I make 'price' to be recognized as a member of the form? public static function form(Form $form): Form { return $form ->schema([ Wizard::make([ WizardStep::make('First Step') ->schema([ TextInput::make('title')->required(), FormsComponentsActions::make([ Action::make('Custom Modal') ->button() ->form([ TextInput::make('price')->prefix('$')->required(), ]) ]), WizardStep::make('Second Step') ->schema([…

VIEW QUESTION

Cpanel – Liverwire filamentphp

Please I need your help. My filaments works fine with 127.0.0.1:8000 (Via artisan serve) But, once I uploaded it to my cPanel, I got an error 404 get livewire/livewire.js. I was able to manipulate this but got another error 404…

VIEW QUESTION
Back To Top
Search