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
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
Jump to solution
2 Replies
Solution
LeandroFerreira
LeandroFerreira4mo ago
declare this method in the CreatePage/EditPage if you are using the panel builder
BOT_Larry
BOT_Larry4mo ago
yes that works. Thank you!