Welcome Guest, Not a member yet? Register   Sign In
Missing data in $beforeUpdate callback function
#3

(04-27-2023, 11:06 AM)iRedds Wrote: All fields must be specified in the $allowedFields class property. And also if they are changed.

I understand that, but i have these fields declared in allowedFields property:

PHP Code:
protected $allowedFields = [
        'foo'
        'bar',
        'baz',  
        
'id',
        'fk_loan_id',
        'another_field',
]; 
Reply


Messages In This Thread
RE: Missing data in $beforeUpdate callback function - by JoosepK - 04-27-2023, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB