Skip to content

[Bug]: Captcha not being initialised when using wire:navigate #27

@DenyEs

Description

@DenyEs

What happened?

I am using my application as an SPA. Adding wire:navigate to my links and browsing the website works fine apart from Captcha which won't show up the second time you visit the link. Taking wire:navigate off solves it but I want to have it as SPA.

I tried adding $this->dispatch('reset-captcha') to my livewire component but with no luck.

How to reproduce the bug

Use Filament forms in a livewire component.

Add captcha as a field.

Add wire:navigate to links and visit your page, click away and visit again. Cpatcha won't show up unless you manually refresh the whole page

Package Version

2.3

PHP Version

8.3

Laravel Version

12.1.1

Which operating systems does with happen with?

macOS

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Info NeededMore Info Needed.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions