filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
19.28k stars 2.96k forks source link

Update profile without new password failed #7098

Closed iliyas-inode closed 1 year ago

iliyas-inode commented 1 year ago

Package

filament/filament

Package Version

v3.0.0-beta3

Laravel Version

v10.15.0

Livewire Version

No response

PHP Version

8.1.16

Problem description

Exception thrown when clicking save button without new password value in profile page

Expected behavior

It should save changes without throwing any exception

Steps to reproduce

  1. clone repo
  2. composer install
  3. php artisan key:generate
  4. php artisan migrate --seed
  5. go to http://filament-issue-profile-update/admin
  6. login with default test credentials. test@example.com - password
  7. go to http://filament-issue-profile-update.test/admin/profile
  8. click save changes button without touching new password filed

Reproduction repository

https://github.com/iliyas-inode/filament-issue-profile-update

Relevant log output

No response

zepfietje commented 1 year ago

Should be fixed by https://github.com/filamentphp/filament/pull/7097.