Browse Source

Merge pull request #11975 from ArtemDzhereleiko/AD/bug-fix/decline-entity-select

Fixed entity select
pull/11990/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
488e50f49b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/shared/components/entity/entity-select.component.ts

2
ui-ngx/src/app/shared/components/entity/entity-select.component.ts

@ -139,7 +139,7 @@ export class EntitySelectComponent implements ControlValueAccessor, OnInit, Afte
};
}
this.entitySelectFormGroup.get('entityType').patchValue(this.modelValue.entityType, {emitEvent: false});
this.entitySelectFormGroup.get('entityId').patchValue(this.modelValue.id, {emitEvent: false});
this.entitySelectFormGroup.get('entityId').patchValue(this.modelValue, {emitEvent: false});
}
updateView(entityType: EntityType | AliasEntityType | null, entityId: string | null) {

Loading…
Cancel
Save