mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 07:34:45 +02:00
Fix Node Creation
Add missing defaults
This commit is contained in:
parent
15caac51fb
commit
e980877bbc
@ -329,6 +329,7 @@ class CreateNode extends CreateRecord
|
||||
true => 'primary',
|
||||
false => 'warning',
|
||||
])
|
||||
->default(0)
|
||||
->columnSpan(2),
|
||||
Forms\Components\TextInput::make('cpu')
|
||||
->dehydratedWhenHidden()
|
||||
@ -346,6 +347,7 @@ class CreateNode extends CreateRecord
|
||||
->hintIconTooltip('The % allowable to go over the set limit.')
|
||||
->columnSpan(2)
|
||||
->numeric()
|
||||
->default(0)
|
||||
->minValue(-1)
|
||||
->maxValue(100)
|
||||
->suffix('%'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user