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>
<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';
}
class CustomInputFiled extends Field
{
public string $content = '';

protected string $view = 'forms.components.metion-me';
}
How to send this content with form data in filament ?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server