question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR Error: No value accessor for form control with name: 'recaptchaReactive'

See original GitHub issue

I am using the relative form approach ( Angular 5.2 ) : @Component({ selector: ‘my-reactive-form’, template: <form [formGroup]="reactiveForm"> <re-captcha formControlName="recaptchaReactive"></re-captcha> <button [disabled]="reactiveForm.invalid">Submit</button> </form> , }) export class MyReactiveForm { reactiveForm: FormGroup;

ngOnInit() { this.reactiveForm = new FormGroup({ recaptchaReactive: new FormControl(null, Validators.required) }); } Error : ERROR Error: No value accessor for form control with name: ‘recaptchaReactive’

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
osman2109commented, Mar 3, 2018

Try it with importing the RecaptchaFormsModule in your module.

0reactions
DethArielcommented, Jun 4, 2019

@Jayeshneema1 @cfood do you still see this issue? If so, could you provide code sample that results in this error?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No value accessor for form control with name - Stack Overflow
In the component, I have the following. loginForm = new FormGroup({ email: new FormControl('', [ Validators ...
Read more >
no value accessor for form control with name - You.com
I fixed this error by adding the name="fieldName" ngDefaultControl attributes to the element that carries the [(ngModel)] attribute. Open side panel. No value...
Read more >
[Solved]-No value accessor for form control with name
Coding example for the question No value accessor for form control with name: 'eventGraphicAttachment'-angular.js.
Read more >
No Value Accessor Error in Angular Tests - Damir's Corner
Error : No value accessor for form control with unspecified name attribute. The call stack wasn't helpful at all. It included only Angular ......
Read more >
ERROR Error: No value accessor for form control with name
I am using the relative form approach ( Angular 5.2 ) : @Component({ selector: 'my-reactive-form', template:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found