UI: Fixed uncontroled focus on field

This commit is contained in:
Artem Dzhereleiko 2023-11-15 16:41:06 +02:00
parent 2dac60861a
commit 1bb01ef161

View File

@ -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);