How can I call a API route in a form?
I need to compile a text area with some data via Ajax.
I cheated a controller that collect the data and a route for call the controller.
How can implement that in a FIlament form?
2 Replies
There are field hydration, update, that you can use
https://filamentphp.com/docs/3.x/forms/advanced#field-hydration
Maybe this can help you
I tried:
Filament:
Route:
Controller:
Error:
An attempt was made to evaluate a closure for [Filament\Forms\Components\TextInput], but [$ChatGPT] was unresolvable.