mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 04:34:45 +02:00
Switch this back to datalist
This commit is contained in:
parent
716d298b75
commit
d30accbc71
@ -171,11 +171,12 @@ class ServerResource extends Resource
|
||||
->whereNull('server_id'),
|
||||
)
|
||||
->createOptionForm(fn (Forms\Get $get) => [
|
||||
Forms\Components\Select::make('allocation_ip')
|
||||
->options(Node::find($get('node_id'))?->ipAddresses() ?? [])
|
||||
Forms\Components\TextInput::make('allocation_ip')
|
||||
->datalist(Node::find($get('node_id'))?->ipAddresses() ?? [])
|
||||
->label('IP Address')
|
||||
->ipv4()
|
||||
->helperText("Usually your machine's public IP unless you are port forwarding.")
|
||||
->selectablePlaceholder(false)
|
||||
// ->selectablePlaceholder(false)
|
||||
->required(),
|
||||
Forms\Components\TextInput::make('allocation_alias')
|
||||
->label('Alias')
|
||||
|
Loading…
x
Reference in New Issue
Block a user