Skip to content
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

Livewire support #184

Open
emtiazzahid opened this issue Sep 30, 2022 · 2 comments
Open

Livewire support #184

emtiazzahid opened this issue Sep 30, 2022 · 2 comments

Comments

@emtiazzahid
Copy link

tried with that

   <div wire:ignore>
        {!! NoCaptcha::renderJs() !!}
        {!! NoCaptcha::display(['data-callback' => 'onCallback']) !!}
   </div>

but when livewire returns validation errors its not refresh with new captcha
Laravel version: 9.19
Livewire: 2.10

@hmreumann
Copy link

You need to somehow dispatch grecaptcha.reset()

Maybe using AlpineJs x-intersect on the captcha validation error message

@AliMosbah

This comment was marked as resolved.

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

No branches or pull requests

4 participants
@emtiazzahid @AliMosbah @hmreumann and others