mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Remove live on toggles
This commit is contained in:
parent
d4dd1349da
commit
f13dbfa766
@ -495,7 +495,6 @@ class CreateServer extends CreateRecord
|
||||
->label('Memory')
|
||||
->afterStateUpdated(fn (Forms\Set $set) => $set('memory', 0))
|
||||
->inlineLabel()->inline()
|
||||
->live()
|
||||
->formatStateUsing(fn (Forms\Get $get) => $get('memory') <= 0)
|
||||
->options([
|
||||
true => 'Unlimited',
|
||||
@ -520,7 +519,6 @@ class CreateServer extends CreateRecord
|
||||
Forms\Components\ToggleButtons::make('unlimited_disk')
|
||||
->label('Disk Space')
|
||||
->inlineLabel()->inline()
|
||||
->live()
|
||||
->afterStateUpdated(fn (Forms\Set $set) => $set('disk', 0))
|
||||
->formatStateUsing(fn (Forms\Get $get) => $get('disk') <= 0)
|
||||
->options([
|
||||
@ -547,7 +545,6 @@ class CreateServer extends CreateRecord
|
||||
->label('CPU')
|
||||
->inlineLabel()->inline()
|
||||
->afterStateUpdated(fn (Forms\Set $set) => $set('cpu', 0))
|
||||
->live()
|
||||
->formatStateUsing(fn (Forms\Get $get) => $get('cpu') <= 0)
|
||||
->options([
|
||||
true => 'Unlimited',
|
||||
|
Loading…
x
Reference in New Issue
Block a user