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)" > 

here's console output: error message in console.

you need add formsmodule imports

@ngmodule({   imports: [commonmodule, formsmodule]   ... }) class mymodule {} 

Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -