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:Jump to 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')...
3 Replies
share the code
you probably need {{ $this->modal }} in your view
wow! yes it worked. in livewire view:
<div>
<form wire:submit.prevent="submit">
{{$this->form}}
{{ $this->modal }}
</form>
</div>