Huemer
Huemer
FFilament
Created by Huemer on 2/19/2025 in #❓┊help
Filament Form Fields as custom components
So i´m trying to develop a Custom Component which is an extension of the Filament RichEditor and add some more functionality to it and later call it from other packages through the CustomField::make()->label()->model() inside a $form->schema([]) but i´m having trouble calling any of the public functions because it´s not a livewire component, even dispatching events and listening for them inside the custom field doesnt work how do you make the field become a livewire component? or does it even have to? how can i emit an event to the field and listen to it? or call the public function directly? i want most of the configuration to be done on the custom field and only insert the name, label and a DB Model so i can call $model->save() etc.
Thanks for your time and really appreciate any help since i`m a beginner with filament / livewire
16 replies