I ran into a problem when trying to extend the user profiles with additional custom fields and I published the user resources using php artisan filament-users:publish
I could not save the user profile due to the error 'filament Property [password] does not exist on this collection instance'.
It was working fine when I set "publish_resource" to false.
I compared the /src/UserResource.php with the /stub/UserResource.php and noticed several differences.
After migrating these differences to the published files , saving a user works fine again.
It seems that the stubs are using an older version and are not compatible with the actual main package version.
I ran into a problem when trying to extend the user profiles with additional custom fields and I published the user resources using
php artisan filament-users:publish
I could not save the user profile due to the error 'filament Property [password] does not exist on this collection instance'.It was working fine when I set
"publish_resource"
to false.I compared the /src/UserResource.php with the /stub/UserResource.php and noticed several differences. After migrating these differences to the published files , saving a user works fine again.
It seems that the stubs are using an older version and are not compatible with the actual main package version.