mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Nobody look
This commit is contained in:
parent
e2399eb4e2
commit
288d3a2cff
@ -154,12 +154,8 @@ class ServerResource extends Resource
|
|||||||
->label('Additional Allocations')
|
->label('Additional Allocations')
|
||||||
->columnSpan(2)
|
->columnSpan(2)
|
||||||
->disabled(fn (Forms\Get $get) => $get('allocation_id') === null)
|
->disabled(fn (Forms\Get $get) => $get('allocation_id') === null)
|
||||||
->hintActions([Forms\Components\Actions\Action::make('asdf')->action(function (Forms\Components\Repeater $component) {
|
|
||||||
$state = $component->getState();
|
|
||||||
dd($state);
|
|
||||||
})])
|
|
||||||
// ->addable() TODO disable when all allocations are taken
|
// ->addable() TODO disable when all allocations are taken
|
||||||
// ->addable() TODO disable until first additional allocation is selected
|
// ->addable() TODO disable until first additional allocation is selected
|
||||||
->simple(
|
->simple(
|
||||||
Forms\Components\Select::make('extra_allocations')
|
Forms\Components\Select::make('extra_allocations')
|
||||||
->live()
|
->live()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user