Nobody look

This commit is contained in:
Lance Pioch 2024-04-14 02:48:21 -04:00
parent e2399eb4e2
commit 288d3a2cff

View File

@ -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()