Send extra field from custom field.

I have this custom field
<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>


This is my custom component class
class CustomInputFiled extends Field
{
    public string $content = '';

    protected string $view = 'forms.components.metion-me';
}

How to send this content with form data in filament ?
Was this page helpful?