Where is the script ?
Sep 14, 2024
5
Level 1
List Page Script Auto hiding when click button
when i run project and show a user list page then script working correctoly but when click to create user button then my script is not working for list page how to solve it i have used listener for create user button as following button is
<button wire:click="createUserButton" class="bg-blue-500">{{ __('Add User') }}</button>
and component is
public function createUserButton()
{
$listener = new CreateUserListener(); // listener
$listener->handle();
}
Please or to participate in this conversation.