Validate these
This commit is contained in:
parent
c5b441e54a
commit
7f6e4a18c1
@ -21,7 +21,10 @@ class CreateUser extends CreateRecord
|
||||
return $form
|
||||
->schema([
|
||||
Section::make()->schema([
|
||||
Forms\Components\TextInput::make('username')->required()->maxLength(191),
|
||||
Forms\Components\TextInput::make('username')
|
||||
->alphaNum()
|
||||
->required()
|
||||
->maxLength(191),
|
||||
Forms\Components\TextInput::make('email')->email()->required()->maxLength(191),
|
||||
|
||||
Forms\Components\TextInput::make('password')
|
||||
|
Loading…
x
Reference in New Issue
Block a user