Fix isolated user validation (#450)

This commit is contained in:
Saeed Vaziry
2025-01-29 20:17:47 +01:00
committed by GitHub
parent d702b95e0c
commit 1e4a944acb
3 changed files with 5 additions and 4 deletions

View File

@ -134,9 +134,9 @@ protected function getHeaderActions(): array
// WordPress
$this->wordpressFields(),
TextInput::make('user')
->label('Username')
->hintIcon('heroicon-o-information-circle')
->hintIconTooltip(
->label('User')
->placeholder('vito')
->helperText(
'Optional. If provided, a new user will be created and the site will be owned by this user.'
)
->rules(fn (Get $get) => CreateSite::rules($this->server, $get())['user']),