Skip to content

Commit

Permalink
set these to false
Browse files Browse the repository at this point in the history
  • Loading branch information
notAreYouScared committed Jul 20, 2024
1 parent b644917 commit 06475f6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function table(Table $table): Table
])
->headerActions([
Tables\Actions\CreateAction::make()->label('Create Allocation')
->createAnother(false)
->form(fn () => [
TextInput::make('allocation_ip')
->datalist($this->getOwnerRecord()->node->ipAddresses())
Expand Down Expand Up @@ -145,6 +146,7 @@ public function table(Table $table): Table
->action(fn (array $data) => resolve(AssignmentService::class)->handle($this->getOwnerRecord()->node, $data, $this->getOwnerRecord())),
Tables\Actions\AssociateAction::make()
->multiple()
->associateAnother(false)
->preloadRecordSelect()
->recordSelectOptionsQuery(fn ($query) => $query->whereBelongsTo($this->getOwnerRecord()->node))
->label('Add Allocation'),
Expand Down

0 comments on commit 06475f6

Please sign in to comment.