F
Filament15mo ago
lodeki

Dispatch open-modal not responding

I'm trying to open a slide modal from button click
->dispatch('open-modal',id:'biodata')
->dispatch('open-modal',id:'biodata')
. This is the modal in a custom blade file
<x-filament::modal id="biodata" slide-over sticky-header sticky-footer width='5xl' :close-button="true" :close-by-clicking-away="true" icon="heroicon-o-information-circle">
<x-slot name="heading">
Biodata
</x-slot>
<x-slot name="trigger">
<x-filament::button>
Verify
</x-filament::button>
</x-slot>
<x-slot name="description">
Thank you for choosing Kodibooks. Please provide information about you and your organization.
</x-slot>
<livewire:biodata />
<x-slot name="footer">
Kodibooks
</x-slot>
</x-filament::modal>
<x-filament::modal id="biodata" slide-over sticky-header sticky-footer width='5xl' :close-button="true" :close-by-clicking-away="true" icon="heroicon-o-information-circle">
<x-slot name="heading">
Biodata
</x-slot>
<x-slot name="trigger">
<x-filament::button>
Verify
</x-filament::button>
</x-slot>
<x-slot name="description">
Thank you for choosing Kodibooks. Please provide information about you and your organization.
</x-slot>
<livewire:biodata />
<x-slot name="footer">
Kodibooks
</x-slot>
</x-filament::modal>
. When i check in the console, the event is dispatched but the modal is not showing.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server