Browse Source

UI: Fixed uncontroled focus on field

pull/9643/head
Artem Dzhereleiko 3 years ago
parent
commit
1bb01ef161
  1. 2
      ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts

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

@ -265,8 +265,8 @@ export class EntitySubTypeListComponent implements ControlValueAccessor, OnInit,
const value = (event.value || '').trim();
if (value) {
this.add(value);
this.clear('');
}
this.clear('');
}
remove(entitySubtype: string) {
const index = this.entitySubtypeList.indexOf(entitySubtype);

Loading…
Cancel
Save