createOptionForm does not return the correct query
Hi,
I am tying to create a createOptionForm. But for some reason it is ignoring all of the fields I defined.
It just gives a basic create query:
This is my select input: (I removed some fields due to the Discord character limit.)
This is the parent select:
Does anyone know what I am doing wrong?
4 Replies
After some more testing this seems to also happen in a relationManager with this model. Does anyone know what I am doing wrong? I am using multi tenancy but that seems to work correctly
Have you included the fields in the model fillables?
Thanks that was it. I always use the $guarded. But someone added $fillable. thanks for pointing me in that directio
direction*
No worries, if you are only using Filament for CRUD Tasks please re-visit the documentation where we advise dropping fillable off