ViewField Form error.
I have a form with a ViewField in it.
When saving, I get an error stating that
users
does not exist.
Aside from the fact it does (in my Company model), I am unsure as to why - as a ViewField, that Filament is attempting to save the users.
Am I getting something wrong with the the nomenclature?Solution:Jump to solution
Oh goodness me.
My sincere apologies @Leandro Ferreira.
I've changed the
ViewField
to be just a View
and it's all working now.
...3 Replies
What about the code of the view?
Hi Leandro,
Thanks so much for responding.
That's the view code as it stands, and, there are references.
I've always assumed that a ViewField isn't accounted for when saving data in a form.
Solution
Oh goodness me.
My sincere apologies @Leandro Ferreira.
I've changed the
ViewField
to be just a View
and it's all working now.
Apologies.