Theodoros
How to ignore a form field from storing in DB
Hello,
I have a form where I need 1 field for a specific action during form creation but it will not be stored in this specific table. How can I instruct Filament to ignore this field from stored in DB. Now I get an error that this column cannot be found in DB.
Thanks
4 replies
Using API call for multiple columns in a table
Hello,
I execute an API call to an external endpoint that I will use to fill multiple columns in 1 table. How can I do it without executing multiple calls for every column but do it once and using
->state()
to put it in several columns in the table?3 replies
mutateFormDataBeforeCreate question
I want to send an API request before I store data in my DB so I use mutateFormDataBeforeCreate in my relevant Create Record page.
Is it the most suitable way to interrupt the saving process ?
I noticed that
When I try to get the data I cannot see the multi select data that are in a many to many relationship. Do you know why?
Thanks!
8 replies
Select many to many problem
Hello!
I have the following error in a Select field with many to many relationship.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'sshKeys' in 'field list'
The form contains:
This is the relationship in the model
The select field is filled successfully but when I try to save it I get the following error.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'sshKeys' in 'field list'
If I do my Select as multiple then everything is working properly.
Any suggestion for the error?6 replies