Please Be aware that the scripts might be run just once upon the 1st render from the ingredient. If you should operate a JavaScript perform afterwards - emit the occasion with the component and hear it in JavaScript as explained listed here) https://laravel-livewire.com/docs/2.x/inline-scripts