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
share the code
awcodes
awcodes2y ago
you probably need {{ $this->modal }} in your view
Ander
AnderOP2y ago
wow! yes it worked. in livewire view: <div> <form wire:submit.prevent="submit"> {{$this->form}} {{ $this->modal }} </form> </div>

Did you find this page helpful?