After update to rc3, ngFormModel not working
my html:
<form [ngFormModel]="form">
<select ngControl="syncTime" name="syncTime" [disabled]="!sync" class="form- control">
</select>
</form>
my .ts
constructor(private fb: FormBuilder) {
this.form = this.fb.group({
syncTime: this.syncTime
});
ngFormModel is replaced with formGroup in RC3.
Please refer https://docs.google.com/document/u/1/d/1RIezQqE4aEhBRmArIAS1mRIZtWFf6JxN_7B4meyWK0Y/pub
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With