MAF
I have to submit the form twice to update the table in a custom page with a table and a from
So, I replaced
$this->getTableQuery()
with $this->dispatch('updateClientsTable');
in findClient()
and it worked perfectly.
Ah, I also added protected $listeners = ['updateClientsTable' => '$refresh'];
in the class.4 replies
Is it possible to disable a resource index without changing authorization?
I found this hack, but I am not sure if there is a better way or not
https://discord.com/channels/883083792112300104/1151970322640273469
5 replies
Why does my form `->required()` methods not work inside of a Livewire component?
Here is the code https://pastebin.com/dmmvFnpt
25 replies
Why does my form `->required()` methods not work inside of a Livewire component?
I have the same issue, but for some weird reason! calling
$this->form->getState();
in the submit function returns an empty array, and $this->form;
returns an empty form instance, however $this-data
returns the data correctly;25 replies