Tuesday, 1 February 2022

angular issues

 in template ngtemplate

the value ngmodel not work for thia use

 <mat-radio-group aria-label="Select an option" >
                                <mat-radio-button value="true" name="isInclude" ngDefaultControl [(ngModel)]="targetingdata.isInclude">Include</mat-radio-button>
                                <mat-radio-button value="false" name="isInclude"  ngDefaultControl [(ngModel)]="targetingdata.isInclude">Exclude</mat-radio-button>
                            </mat-radio-group>

No comments:

Post a Comment

7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...