Is it possible to open modal with form fields in hint action?
I've tried but it doesn't open the moda with form (text input):
15 Replies
what is the error? Any console errors?
No errors, button press does nothing
is it a resource? custom page?
Custom page (RegisterTenant)
did you config the mount method?
Not configured mount, this is just in form(Form $form) function
is the action a Filament\Forms\Components\Actions\Action ?
Yes
if you are using a custom page, you should do this
https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#adding-the-form
Its a custom page which extends RegisterTenant. Rest of the form is working as aspected, The action works as long as no ->form is appended to it. But when ->form([...fields]) is appended, it stops working.
@Leandro Ferreira Are you able to recreate the action without issue on your end with this code?
It was supposed to work
bug?
probably not
not sure what else it could be
any ideas?
bump
because of this
https://github.com/filamentphp/filament/discussions/7988
GitHub
External page and Select::createOptionForm · filamentphp filament ·...
Hello, I'm using a Select with createOptionForm in RegisterTenant and EditTenant. It's working pretty well in edit page but not in register page, the modal doesn't appear. I don't k...