This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

antonio.fiorillo44953
antonio.fiorillo44953

Hi, i have a problem with my model...

class Documento extends Model
{
    use \October\Rain\Database\Traits\Validation;
    public function beforeSave(){
        dd($this);
     }
}

when i save the modal, the function 'beforeSave' not start but the row it's saving. What's is the problem? I tested also afterSave, beforeCreate, afterCreate .... not working

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.