Monday, March 6, 2017

How can I clear errors object with 200 g_recaptcha_response?

I have a form object with an errors object

I can clear the input values dynamically with

<form @keydown="form.errors.clear($event.target.name)">

But how can I clear the errors object following a successful response from google recaptcha?

I am working with a div and @submit, @keydown and @click are not responding to

@click="form.errors.clear('g_recaptcha_response')" 



via Dazzle

Advertisement