Better helper text

This commit is contained in:
Lance Pioch 2024-03-31 00:12:25 -04:00
parent 6e4f3f7191
commit f5a0a0f8ba

View File

@ -96,7 +96,7 @@ class CreateNode extends CreateRecord
->required() ->required()
->columnSpanFull() ->columnSpanFull()
->regex('/[a-zA-Z0-9_\.\- ]+/') ->regex('/[a-zA-Z0-9_\.\- ]+/')
->helperText('Character limits: [a-zA-Z0-9_.-] and [Space]') ->helperText('This is just a display name and can be changed later. Character limits: a-Z, 0-9, and [.-_ ]')
->maxLength(100), ->maxLength(100),
Forms\Components\Textarea::make('description') Forms\Components\Textarea::make('description')
->hidden() ->hidden()