Support @angular/forms
See original GitHub issueIt seems that material does not work with new forms. I have used formControlName directive and I got error that there is no value accessor for certain field in my case ‘email’:
No value accessor for ‘email’
I have changed import in input/index.js from:
var common_1 = require('@angular/common');
to:
var common_1 = require('@angular/forms');
and it seems to start working.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:8
Top Results From Across the Web
Introduction to forms in Angular
Angular provides two different approaches to handling user input through forms: reactive and template-driven. Both capture user input events from the view, ...
Read more >angular/forms
Implements a set of directives and providers to communicate with native DOM elements when building forms to capture user input.
Read more >Reactive forms - Angular
Reactive forms provide a model-driven approach to handling form inputs whose values change over time. This guide shows you how to create and...
Read more >Using forms for user input - Angular
Import the FormBuilder service from the @angular/forms package. This service provides convenient methods for generating controls.
Read more >Building a template-driven form - Angular
Angular supports two design approaches for interactive forms. You can build forms by using Angular template syntax and directives to write templates with ......
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
@naveedahmed1 ahh indeed, this did the trick. I didn’t come on the idea to modify the source file directly, thank you!
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.