scala-webapp-template icon indicating copy to clipboard operation
scala-webapp-template copied to clipboard

ReCAPTCHA component needs to be reloaded after server responses

Open AlexITC opened this issue 2 years ago • 0 comments

When submitting a form with invalid data, the ReCAPTCHA token will get burnt, hence, we need to refresh the component, right now, the whole page needs to be refreshed.

Also, we can subscribe to the expired recaptcha event to clean our data.

AlexITC avatar May 12 '22 17:05 AlexITC