app/Http/Livewire/Form/AccountForm.php: define $record property
This commit is contained in:
parent
c2816cb1df
commit
083f0a0c8f
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ class AccountForm extends Component
|
|||
|
||||
public $password_confirmation;
|
||||
|
||||
public Admin $record;
|
||||
|
||||
protected $validationAttributes = [
|
||||
'password_current' => 'current password',
|
||||
'password' => 'new password',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue