Input Blade Component Suffix Action
How do i add a suffix action to my input blade component?
My goal is to have a suffix action that copies whatever text is in the input field.
My goal is to have a suffix action that copies whatever text is in the input field.
Solution
yeah, apparently i could do it like this:
i don't know why i made my life so difficulat. anyway, just have to include the implements and use
edit:
i have a viewfield and in that viewfield, i'm displaying another livewire component with more filament forms calling the method form(). trying to display the livewire component as is will wreck your app.
you have to define a form with a different name and give it a different state path like in here: https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component
i don't know why i made my life so difficulat. anyway, just have to include the implements and use
edit:
i have a viewfield and in that viewfield, i'm displaying another livewire component with more filament forms calling the method form(). trying to display the livewire component as is will wreck your app.
you have to define a form with a different name and give it a different state path like in here: https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component