.
This commit is contained in:
parent
d89b43e055
commit
ef2d4c47ad
4 changed files with 49 additions and 24 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue