Il giorno mercoledì 13 novembre 2019 17:11:36 UTC+1, Raffaella Sinisi ha scritto: > > var response = this.was.postWizardStart(wi); > response.subscribe(res => { this.zone.run(() => { > this.idWizard = res.headers.get('idWizard'); > console.log("OK 200 Server - Idwizard is: " + this.idWizard); > this.ref.detectChanges(); > this.emitValue(); > this.clientId = this.clientId; > }); > }, > err => { > console.log(err); > }); > > > > > constructor( private ref: ChangeDetectorRef,private zone:NgZone > > > > > Hello i have a problem with detect changes after post http: the variable > "this.idWizard" is not updated. I used both ngZone and ChangeDetectorRef. > Thank you so much >
-- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/f21d0113-7906-441a-9c2e-6b5dc4c83b4b%40googlegroups.com.