Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ddoser020's avatar

Livewrie button not run the funtion found in component

i Have Variable showCreateForm = false , so if u run the function createCategory the variable must go true and if i click again will turn false again ,

so i do that and go to the blade and make a button to click on it but nothing happens , it's a dead button , ( i treid both button and link

// i cant add code here , why all these questions and i dont see any way to preview a code here

https://stackoverflow.com/questions/64089344/laravel-livewire-wireclick-not-firing-the-function/64092232?noredirect=1#comment113337346_64092232 here it is

0 likes
1 reply
ddoser020's avatar

i did all you mention there and make sure more than 100+ time and nothing i dont understand why the button is dead , if i click on any other element it produce kind of request or network trafic in inspect elements but he dont

Please or to participate in this conversation.