-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
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
Overriding PersonalInfo doesn't work #322
Comments
I have the same issue. One solution is to replace the Livewire components after panel boot: use Jeffgreco13\FilamentBreezy\BreezyCore;
use App\Http\Livewire\CustomPersonalInfo;
class CustomersPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
...
->plugin(
BreezyCore::make()
->myProfile()
->myProfileComponents([
'personal_info' => CustomPersonalInfo::class,
])
)
->bootUsing(function () {
Livewire::component('personal_info', CustomPersonalInfo::class);
})
}
} |
Thank you @icaliman! This just saved me. Do you know why is this necessary? |
When I try to add the livewire component inside other folders like
Do you have any idea what it could be? |
Breezy has had issues in the past with trying to use components outside of the main It's probably related to that. I think the comment I linked is claiming there is a way around the issue but I've never tried it myself. |
I have this class to let users update their first_name and last_name as well, but as soon as I click update the component springs back to its original one and it says "The name field is required"
The text was updated successfully, but these errors were encountered: