N16htSh1ft
ImportAction on suffixAction
Hello,
suffixAction() method of a TextInput component in the Filament Forms package expects an argument of type Filament\Forms\Components\Actions\Action or a Closure, but you are trying to pass an ImportAction, which is not compatible.
Try to define a custom action
TextInput::make('whatever')
->suffixAction(
Action::make('import')
->label(whatever import')
->action(function () {
//whatever function
})
Greetings
N16htSh1ft
4 replies
Nested arrays may not be passed to whereIn method.
Hello,
Can you pass an example with the following log info?
Log::info('User data loaded:', $this->user->toArray());
Log::debug('Form data state:', ['data' => $this->data]);
Log::debug('Form schema prepared:', ['schema' => $form->getSchema()]);
Greetings
N16htSh1ft
5 replies