Modal does not work in a Custom Page
Hello, I am building a custom page but nothing happens when I click on the column action :
And the associated view:
Why ?
In the browser console, an ajax call to the /livewire/update route appears correctly
11 Replies
try
not working
I also tried the following code without success:
You dont need <x-filament-actions::modals/>
Even deleting it doesn't work
Here is my code. Just delete action model code from view. Your action should automatically trigger model or if you specify sliderOver() like me it will create slideOver.
Further please inspect if you are passing data correctly.
did you debug the code and see if you enter action code. do you get list of records with name entry and test button.
My actually code :
For information, Software is a model using sushi:
can you add like and check.
remove ->modalContent(fn (Software $software): View => view('livewire.view-file'))
rather create simple form like your shared. It should trigger form in slideover. Dont use any modal in view.
I always have the same result. In the browser console, /livewire/update is called in post, but nothing is displayed (like in the video)
@Dennis Koch sorry to ping you, but we can't find the reason for this problem... no error message is displayed. Am I doing something wrong?
I don't know why but it works now... I didn't do anything in particular so I suspect the cache... it's frustrating not knowing the reason