This commit is contained in:
schmelczerandras 2019-09-02 19:29:58 +02:00
parent d89b43e055
commit ef2d4c47ad
4 changed files with 49 additions and 24 deletions

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() {