Can't save form action
I can't save the value in advanced form action that give me null.
Solution:Jump to solution
sorry, it confused me. You were showing the edit page with the problem, now you are saying that it is working 🤷♂️
22 Replies
because it is
disabled
?I don't think so.
do you mean, it is null when you submit the form?
yes
try without
disabled
It's not working
is
remaining_stock
fillable?no it's not.
are you trying to store a field that isn't fillable?
I'm using Model::unguard
The issue lies in the fact that
remaining_stock
is not being stored in the database. I recommend investigating why this data isn’t being saved.
This isn't related with the action..this isn't null 🤷♂️
Yes
action are not working
that reset button is not actually reset the database.
what is happeninig?
gg
this action won't save the data. The button in the form will save the data
Yes I mean The button in the form is not saving the data
because you don't have the
remaining_stock
input in the formit's working in edit state
It's not working when createing new product
Solution
sorry, it confused me. You were showing the edit page with the problem, now you are saying that it is working 🤷♂️
Thank you for your help. Let me check it.