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!
No description
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?