From 1b3a91f63fa8c8c320df3319370b380a8afeb3a2 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 30 Apr 2025 01:48:02 -0700 Subject: [PATCH] Fix: fix single select in filterable dropdowns when editing (#9834) --- .../common/filterable-dropdown/filterable-dropdown.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts index 45c776df6..4af3d6d9c 100644 --- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts +++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts @@ -586,6 +586,8 @@ export class FilterableDropdownComponent this.selectionModel.reset() this.modelIsDirty = false } + this.selectionModel.singleSelect = + this.editing && !this.selectionModel.manyToOne this.opened.next(this) } else { if (this.creating) {