dispatch with alpine is not working
Hello, I have created a custom form field. In this field, I am using Alpine.js to dispatch an event to the field's class, but it is not working. If I move getDropdownArray from the custom form field class to the edit page, it starts working.
Is it possible to keep all the variables and methods in the custom form field class? I would prefer not to use the edit page.
Thanks!
0 Replies