Skip to content

getting livewire/update 404 - on a livewire component calling the modal #539

@shez1983

Description

@shez1983

so i have added

@livewire('wire-elements-modal')

to layout

on a page (which is component) and all other livewire functionality is working. I add

 <button wire:click.prevent="$dispatch('openModal', { component: 'campaigns.update-modal', arguments: { campaign: '{{ $campaign->slug }}' }})"
            class="campaign-drop-li cursor-pointer"
        >
            <i class="fa-solid fa-pencil"></i>
            <p>test</p>
        </button>

when i click it i do get a modal open which says 404.. and console shows

ivewire/update not found..

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions