These are emails

This commit is contained in:
Lance Pioch 2024-05-11 23:44:59 -04:00
parent 7f6e4a18c1
commit 3609873c4c
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class CreateEgg extends CreateRecord
Forms\Components\TextInput::make('author')
->maxLength(191)
->required()
->email()
->columnSpan(['default' => 1, 'sm' => 1, 'md' => 2, 'lg' => 2])
->helperText('The author of this version of the Egg.'),
Forms\Components\Textarea::make('description')

View File

@ -38,6 +38,7 @@ class EditEgg extends EditRecord
Forms\Components\TextInput::make('author')
->required()
->maxLength(191)
->email()
->disabled()
->columnSpan(['default' => 1, 'sm' => 1, 'md' => 2, 'lg' => 2])
->helperText('The author of this version of the Egg. Uploading a new Egg configuration from a different author will change this.'),