Angular 10 + primeng 4 Radiobutton throwing cannot find nativeElement of undefined error

Viewed 134

Page is crashing after migration of angular 9 to 10, so getting an error, cannot find nativeElement of undefined.

Following is the code snippet used:

<div>
  <p-radioButton name="group" value="XXX" [(ngModel)]="accType"></p-radioButton>
  <p-radioButton name="group" value="YYY" [(ngModel)]="accType"></p-radioButton>
</div>

Attaching screenshot of exception. enter image description here

0 Answers
Related