diff --git a/packages/person/src/components/select/controller.ts b/packages/person/src/components/select/controller.ts index 6f459aa2..2fe9cbdf 100644 --- a/packages/person/src/components/select/controller.ts +++ b/packages/person/src/components/select/controller.ts @@ -55,7 +55,7 @@ export class PersonSelectController implements ReactiveController { * Runs on host updated when property is changed */ public attrSelectedPerson(select: string | null | undefined) { - if (select === null || select === '' && this.selectedIds.size) { + if (select === null || (select === '' && this.selectedIds.size)) { this.clear(); return; }