Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

captcha reloaded. form is valid. #111

Closed
morriq opened this issue Feb 8, 2016 · 1 comment
Closed

captcha reloaded. form is valid. #111

morriq opened this issue Feb 8, 2016 · 1 comment

Comments

@morriq
Copy link

morriq commented Feb 8, 2016

Hey.

I have simple form

<form name="foo" ng-submit="test()">
<div vc-recaptcha key=""></div>
<input type="submit" ng-disabled="foo.$invalid" value="send it">
</form>

And here is testcase

  1. Pass captcha
  2. Input is active so Send form
  3. [For example, We received wrong answer from the server so we need to RELOAD captcha]
  4. Without passing captcha we have still active send button. It shouldn't
@TheSharpieOne
Copy link
Contributor

This is a dup of #69. I looked at it briefly but because the reset happens in the service and the validation is in the directive it is not as clean/straight forward as I would like it to be.

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

No branches or pull requests

2 participants