Open DanielvdSpoel opened 7 months ago
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);
})
}
}
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"