WateUhlerredal's avatar

Laravel Nova: bypass accessor to getOriginal

When using Laravel Nova you may expect $this->getOriginal('name') to bypass an accessor to return the database value of name. However, omegle.2yu.co this is not the case.

Text::make('Name') ->resolveUsing(function(){ return $this->getOriginal('name') });

// Returns value provided https://omegle.love by accessor

0 likes
1 reply

Please or to participate in this conversation.