Components: mat-radio-group

Created on 7 Mar 2018  路  5Comments  路  Source: angular/components

<mat-radio-group formControlName='gender'>
    <mat-radio-button value='1'>Male</mat-radio-button>
    <mat-radio-button value='2'>Female</mat-radio-button>
</mat-radio-group>

This will not work with value of gender being 1, but will work with '1', no need to explain the difference between two, right?

Is this how you design it to be??

Most helpful comment

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.

All 5 comments

Do you mean writing value=1 instead of value='1' ?

And what does "not work" mean exactly for you? Why didn't you use the issue template?

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.

@jelbourn great work, show them all how to resolve an issue :)

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alanpurple picture alanpurple  路  3Comments

3mp3ri0r picture 3mp3ri0r  路  3Comments

vanor89 picture vanor89  路  3Comments

kara picture kara  路  3Comments

constantinlucian picture constantinlucian  路  3Comments