Skip to content

Commit

Permalink
Merge pull request #109 from canyongbs/bugfix/AIDAPP-115
Browse files Browse the repository at this point in the history
[AIDAPP-115]: Setting division when creating a knowledge article produces an error
  • Loading branch information
Orrison authored Jun 5, 2024
2 parents fea1baf + ef43a3b commit 4ac5551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public function form(Form $form): Form
->exists((new KnowledgeBaseCategory())->getTable(), (new KnowledgeBaseCategory())->getKeyName()),
Select::make('division')
->label('Division')
->multiple()
->relationship('division', 'name')
->searchable(['name', 'code'])
->preload()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public function form(): array
->exists((new KnowledgeBaseCategory())->getTable(), (new KnowledgeBaseCategory())->getKeyName()),
Select::make('division')
->label('Division')
->multiple()
->relationship('division', 'name')
->searchable(['name', 'code'])
->preload()
Expand Down

0 comments on commit 4ac5551

Please sign in to comment.