F
Filament13mo ago
jay02k

filament default registration

is there a way to customize the registration like hiding or disable the field like name?
Solution:
Filament requires a name for the UI
Jump to solution
5 Replies
KA
KA13mo ago
you can add custom auth pages i think, you can check following section https://filamentphp.com/docs/3.x/panels/users
jay02k
jay02kOP12mo ago
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
Dennis Koch
Dennis Koch12mo ago
Filament requires a name for the UI
Dennis Koch
Dennis Koch12mo ago
You can try to use the email or the username instead
jay02k
jay02kOP12mo ago
i see thank you
Want results from more Discord servers?
Add your server