Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SiteKey, theme error #1

Open
kims901 opened this issue Jun 5, 2016 · 4 comments
Open

SiteKey, theme error #1

kims901 opened this issue Jun 5, 2016 · 4 comments

Comments

@kims901
Copy link

kims901 commented Jun 5, 2016

Hello,

I'm getting the following errors:

EXCEPTION: Error: Uncaught (in promise): Template parse errors:
Can't bind to 'siteKey' since it isn't a known native property ("d="loginContainer" class="container">
<div (setVerified)="setVerified($event)" googlerecaptcha [ERROR ->][siteKey]="siteKey" [theme]='light'>

"):
@rajan-g
Copy link
Owner

rajan-g commented Jun 6, 2016

Hi Kims,
You need to set siteKey value in your component, For refer (https://github.com/rajan-g/angular2-google-recaptcha/blob/master/app/app.component.ts) . after adding this same configuration style, Post your view and component

@ashfon
Copy link

ashfon commented Dec 15, 2016

I am getting same error, was this resolve? Issue is not with siteKey value, issue is with [siteKey] input.

Error:
zone.js:388Unhandled Promise rejection: Template parse errors:
Can't bind to 'siteKey' since it isn't a known property of 'div'. ("

@borntodesign
Copy link

That normally means you have not declared it properly

@geethpw
Copy link

geethpw commented May 18, 2021

You need to import the

import { NgxCaptchaModule } from 'ngx-captcha';

in app.module.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants