Angular Variable change not detecting html
I’m trying to update the variable in the output function and its’ updating in ts file only, not HTML, I’m adding code below. TS FILE @Component({ selector: ‘app-root’, templateUrl: ‘./app.component.html’, styleUrls: [‘./app.component.scss’] }) export class AppComponent implements OnInit, OnChanges { success: boolean = false; constructor(private _cdr: ChangeDetectorRef) {} ngOnInit() { this._cdr.detectChanges(); } validatePayment(response) { this._cdr.detectChanges()… Read More Angular Variable change not detecting html