DethAriel / ng-recaptcha

Angular component for Google reCAPTCHA
https://dethariel.github.io/ng-recaptcha/
MIT License
475 stars 127 forks source link

more setting options #159

Open GlauberF opened 4 years ago

GlauberF commented 4 years ago

Summary

I'm submitting a:

Description

I can use more options, something like this below. set language, thema, etc ...

   [siteKey]="siteKey"
    (reset)="handleReset()"
    (expire)="handleExpire()"
    (load)="handleLoad()"
    (success)="handleSuccess($event)"
    [useGlobalDomain]="false"
    [size]="size"
    [hl]="lang"
    [theme]="theme"
    [type]="type"
    formControlName="recaptcha"
DethAriel commented 3 years ago

Hi @GlauberF ! Theoretically, all of these should be possible, but below I take a closer look at these options. I do hope that some of the thoughts I express below will help you (and other readers) gain insight into how I'm thinking about those.

Supported inputs

The (+) part delineates an option that wasn't mentioned in your original request.

Supported form directives

Sort of supported options

Event emitters

Options to be supported in future

Unsupported options

WalkerWalker commented 3 months ago

edition: "standard" | "enterprise" (global). This is pretty straightforward - a way to support enterprise reCAPTCHA edition in a future-proof way (in a sense that reCAPTCHA might add smth like a "premium" version in future)

I wonder if the current library supporting google reCAPTCHA enterprise?