let form = this.fb.group({ 'hotelLocation':[null] }); form.get('hotelLocation').valueChanges.subscribe(v => { // HERE !! let prevVal = this.form.value['hotelLocation']; }); |
let form = this.fb.group({ 'hotelLocation':[null] }); form.get('hotelLocation').valueChanges.subscribe(v => { // HERE !! let prevVal = this.form.value['hotelLocation']; }); |