[HIMA-637] added logic on customer creation when gastkunde or onlinekunde selected Land can be only Deutchland

This commit is contained in:
Eraldo Hasanaj
2019-09-17 09:49:05 +02:00
parent 6ca5bc495b
commit dc3228c03b
4 changed files with 35 additions and 2 deletions

View File

@@ -41,6 +41,11 @@ export class SelectComponent implements OnInit {
this.toggleDropdown();
}
public change(option: string | number) {
this.dirty = option !== this.label;
this.selected = this.dirty ? option : this.label;
}
toggleDropdown() {
this.isOpen = !this.isOpen;
}