filament default registration
is there a way to customize the registration like hiding or disable the field like name?
5 Replies
you can add custom auth pages i think, you can check following section https://filamentphp.com/docs/3.x/panels/users
i will check it thank you
btw i am trying to hide name field but i got this issue
class Register extends BaseRegister
{
protected function getNameFormComponent(): Component
{
return Hidden::make('name')
->label('Name');
}
}
Issue:
Filament\FilamentManager::getUserName(): Return value must be of type string, null returned
Solution
Filament requires a name for the UI
You can try to use the email or the username instead
i see thank you