form->validate(); $action->execute(auth('web')->user(), new UpdatePasswordDTO( new_password: $this->form->new_password, )); $this->dispatch('hide-update-password-modal'); $this->success($this->message); } public function hide(): void { $this->form->reset(); $this->form->resetValidation(); } };