Livewire component in form

Hello, don't know if its the right way to do but:

in a form i have a custom "form component" for a "custom file element". On this element i want to use wire:click, but always get:
Unable to call component method. Public method [test] not found on component


Is it not possible to use livewire on components this way?
Is there a way to solve this?
Solution
declare this method in the CreatePage/EditPage if you are using the panel builder
Was this page helpful?