skip to Main Content

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

Laravel Policy to limit Filament Bulk Delete

In my Laravel project, I try to limit delete action. Non-admin users should be able to delete only their own content. public function forceDelete(User $user, Slider $slider): bool { return $user->hasRole("Admin") || $slider->created_by === $user->id; } I can still see…

VIEW QUESTION

laravel filament very slow

At the moment, I'm engaged in a project that employs Laravel's Filemant, and I've noticed significant slowness when navigating between pages or submitting forms. The delay can range from 10 to 18 seconds. My development environment is : Wampserver Windows…

VIEW QUESTION
Back To Top
Search