Sidebar action modal
Does anyone know if it is possible to add a button on the sidebar to open a modal for the contact form?
Solution:Jump to solution
Hi !
Something like this can help you ?
```php
->renderHook(PanelsRenderHook::SIDEBAR_NAV_START, fn() =>
Blade::render('<x-filament::button wire:click="$dispatch('open-modal', { id: 'contact-form-modal' })">Test</x-filament::button>')...
4 Replies