Hi,
I have a problem with Eloquent ignoring a form field - not adding the selected value to the database.
When I
$queries = DB::getQueryLog();
dd($queries);
I can't see my form field name in the query. I use mass assignment, the fillables are set, there is no typo. Also I am casting the value to the right type.
All the rest of my culumns are filled in nicely.
I also tried to google it but found nothing. Have you guys gut any idea what can cause this?
---Update---
I tried updating the field in question by "normal assignment" and it works. So the culprit has to be Eloquent.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community