Using JS in a filament custom form component
Hello,
What I am trying to do:
Trying to run JS in filament custom form component
What I did:
I included script tags with console logs in the component but it never triggers i tried including the scripts using @push and directly but both did not work.
My issue/the error:
The Js is not triggering in filament custom component
Code:
1 Reply
You should use alpinejs
https://alpinejs.dev/start-here#building-a-counter