Zoltar
refreshFormData in afterSave() function
@toeknee mmm debugging the code, the problem is slightly different
the function refresh the field...but not take the last value save in db but the previous...
(consider that the field in db is virtual... if i refresh page the result is correct)
protected function afterSave(): void
{
$this->refreshFormData([
'calorie_calc',
]);
}
22 replies