Slide-Toggle on Latest Angular 2 (RC4) - EXCEPTION: No value accessor for ''
See original GitHub issueBrowser returns an error when using [(ngModel)]
on Slide-Toggle Component:
<md-slide-toggle color="primary" [(ngModel)]="sortMode">
TOGGLE
</md-slide-toggle>
EXCEPTION: No value accessor for ''
Angular 2 RC4
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
No value accessor for form control with unspecified name ...
I fixed this error by adding the name="fieldName" ngDefaultControl attributes to the element that carries the [(ngModel)] attribute.
Read more >angular/angular - Gitter
No value accessor for form control with unspecified name. ... Slide Toggle </md-slide-toggle> this.form = new FormGroup({ 'surname': new ...
Read more >EPEL 7 for aarch64 - RPMFind
pekwm · perdition · pgpool-II · php-fpm.d · php-tcpdf · php.d · phpMyAdmin · phpPgAdmin · phpldapadmin · phpwapmail · pki.
Read more >notebookffad25d0e2 - Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from 60k Stack Overflow Questions with Quality Rating.
Read more >vocab.txt - Hugging Face
0 1 2 3 4 5 6 7 8 9 : ; < = > ? ... ##lication ##ory ret ##one id ##urn...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
details here
The element need also a
name
to get it work with new formsI did
import {provideForms} from '@angular/forms';
bootstrap(AppComponent, [ JwtService, HTTP_PROVIDERS, provideForms() ]);