F
Filament17mo ago
Ander

select will not open createOptionForm modal

Inside a custom page of a resource, I call a Livewire view, where I have a form, but the select modal doesn't open, but if I use a form on the page, it opens. <x-filament::page> {{$this->form}} @livewire('form-pay-schedule') </x-filament::page> Does anyone know why this happens?
Solution:
Inside a custom page of a resource, I call a Livewire view, where I have a form, but the select modal doesn't open, but if I use a form on the page, it opens. <x-filament::page> {{$this->form}} @livewire('form-pay-schedule')...
Jump to solution
3 Replies
LeandroFerreira
LeandroFerreira17mo ago
share the code
awcodes
awcodes17mo ago
you probably need {{ $this->modal }} in your view
Ander
AnderOP17mo ago
wow! yes it worked. in livewire view: <div> <form wire:submit.prevent="submit"> {{$this->form}} {{ $this->modal }} </form> </div>
Want results from more Discord servers?
Add your server