-
Notifications
You must be signed in to change notification settings - Fork 128
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
Angular 18 Support #324
Comments
Waiting for ng-recaptcha's Angular 18 support as it is causing difficulties in upgrading the project. |
Raised a pull request to upgrade the library to Angular v18 |
Hi @DethAriel is there any update? |
Waiting for it, |
perhaps you could take over and publish your fork on https://www.npmjs.com/ Seems dev is not around anymore |
@pinpins Did the same. Published it as a new library under the name ng-recaptcha-2 |
Using npm i ng-recaptcha-2 for the new library at https://www.npmjs.com/package/ng-recaptcha-2?activeTab=readme still gives dependency error: Conflicting peer dependency: @angular/[email protected] How can we install this new library for Angular 18 without errors? |
@ReaperTech Uninstalling the old library & then installing ng-recaptcha-2 is the right way to do it. You shouldn't keep both. |
Hi @DethAriel is there any update to migrate for Angular18? |
Did he answer someone in https://www.linkedin.com/in/%F0%9F%92%BB-ruslan-arkhipau-a87071127/ ? |
Is there any update on it? It is restricting me to upgrade to Angular version 18. |
You can replace the library, if needed, to recaptcha-2 as mentioned above |
Did not work for me, still no library for captcha angular 18 today ? |
@MatthieuOlenine |
//here change code declare var grecaptcha: any; @Injectable({ // private siteKey: string | null = null; constructor(@Inject(DOCUMENT) private readonly document: Document, /**
/**
/**
// public execute(action: string, callback: (token: string) => void): void { // grecaptcha.ready(() => { And componente @component({ ngOnDestroy(): void { ypuMethod(){ |
is its works? |
Repackaged to support also Angular 19 https://www.npmjs.com/package/ng-recaptcha-19 https://github.com/pinpins/ng-recaptcha-2/commit/6953fea753acd1567df91f15f23657f82753e605 |
Hi @DethAriel ,
when will angular 18 support be available?
Thank you for your work.
The text was updated successfully, but these errors were encountered: