This commit is contained in:
schmelczerandras 2019-09-02 19:29:58 +02:00
commit ef2d4c47ad

View file

@ -59,12 +59,12 @@ export class SelectAddComponent {
this.select(this.newOption);
this.newOption = '';
}
this.toggle();
}
select(option: string) {
this.selected = option;
this.value.emit(this.selected);
this.toggle();
}
toggle() {