html5 - "No provider for RadioControlRegistry" in angular 2 what provider should I add? -
what provider should add in provider component?
<div class="radio"> <input let match id="male" type="radio" name="gender" value="true" [(ngmodel)]="ismatching" (click)="ismatching(match.value)" >
you need add formsmodule
imports
@ngmodule({ imports: [commonmodule, formsmodule] ... }) class mymodule {}
Comments
Post a Comment