From f8550334dd009d09953da4ceea8ae2f714fe1045 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Thu, 11 Apr 2024 11:41:03 -0400 Subject: [PATCH] Helper text for creating new allocations --- app/Filament/Resources/ServerResource.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Filament/Resources/ServerResource.php b/app/Filament/Resources/ServerResource.php index ec903c135..739a9122a 100644 --- a/app/Filament/Resources/ServerResource.php +++ b/app/Filament/Resources/ServerResource.php @@ -85,12 +85,18 @@ class ServerResource extends Resource ->createOptionForm([ Forms\Components\TextInput::make('allocation_ip') ->label('IP Address') + ->helperText('Usually your machine\'s public IP unless you are port forwarding.') ->required(), Forms\Components\TextInput::make('allocation_alias') ->label('Alias') + ->helperText('This is just a display only name to help you recognize what this Allocation is used for.') ->required(false), Forms\Components\TagsInput::make('allocation_ports') ->placeholder('Examples: 27015, 27017-27019') + ->helperText(' + These are the ports that users can connect to this Server through. + They usually consist of the port forwarded ones. + ') ->label('Ports') ->required(), ])