Send extra field from custom field.
I have this custom field
This is my custom component class
How to send this content with form data in filament ?
This is my custom component class
How to send this content with form data in filament ?
<x-dynamic-component
:component="$getFieldWrapperView()"
:field="$field"
>
<div x-data="mentionable($wire.entangle('{{ $getStatePath() }}'))">
<input type="hidden" name="content" value="test content">
<input type="text" x-model="state">
</div>
</x-dynamic-component>class CustomInputFiled extends Field
{
public string $content = '';
protected string $view = 'forms.components.metion-me';
}