We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I followed your instructions "Create custom My Profile components" and used it to overwrite the 'personal_info' section:
'personal_info'
class MyProfileComponent extends \Jeffgreco13\FilamentBreezy\Livewire\MyProfileComponent { protected string $view = "livewire.admin.my-profile-component"; public array $data; public function form(Form $form): Form { return $form ->schema([ Placeholder::make("test") ->content(fn($record) => json_encode($record)), TextInput::make("name") ->hint("Changable just by Admins") ->disabled(fn(): bool => !auth()->user()->hasRole([User::ROLE_SUPER_ADMIN, User::ROLE_ADMIN])) ]) ->statePath('data'); } }
This gives me the following:
As you can see, I can't access any data and the name field is empty, which is wrong.
Similar code worked in V1. I updated to v2.1.3.
v2.1.3
The text was updated successfully, but these errors were encountered:
Ah, forget it. I can just extend \Jeffgreco13\FilamentBreezy\Livewire\PersonalInfo and overwrite just the getProfileFormSchema method and it works.
\Jeffgreco13\FilamentBreezy\Livewire\PersonalInfo
getProfileFormSchema
Sorry, something went wrong.
No branches or pull requests
I followed your instructions "Create custom My Profile components" and used it to overwrite the
'personal_info'
section:This gives me the following:
As you can see, I can't access any data and the name field is empty, which is wrong.
Similar code worked in V1. I updated to
v2.1.3
.The text was updated successfully, but these errors were encountered: