W
W
wertex2018-05-01 15:20:45
Laravel
wertex, 2018-05-01 15:20:45

Why is one field out of 12 not saved?

In order not to make a footcloth here, I transferred everything to gist.
It is not possible to save the departamen_id field
. All the necessary information comes to the $request of the Update method, but only this field does not get into the database.
How can you find the cause?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-05-01
@wertex15

Because it's not in the fillable?
Not to mention the fact that departame n _id is sent, but in all other places departamen t _id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question