Select Multiple always active
Hi, I have my filament select rendered also when I goes into the modal, he will be always active by default and when I click outside the select component it still showing active hmm.
If I make it not multiple it work perfectly. Using Google Chrome.
My code
And a video 🙂
15 Replies
How to render the livewire component in the modal?
My component is rendered like this @Kireck17
And how to call this component in Action::make() and pass metier variable?
@Kireck17 In my create methods in my forms component I have my createMethods trigerred by the form:
I have the event "refreshTable" which is listened in my livewire "metier.list-metier" components (cf screenshot)
Also When I create it works perfectly with my event listener, I think it's a style issue with my select multiple mmh
I don't have any Action registered
For example
Why do I need actions ? Need to add it directly my select component ?
cause i need a custom modal with a table
U use a panel or Form builder?
Yes my form is rendered here (it's my select multiple and my button on it)
After at the bottom of my html form I load my Table builder in another livewire component where I have this in the components:
Also my form is rendered like this
ah ok. I used filament v2 but i'm starting with filament v3
Yes I am using filament v3
the event and refresh is working well
also just the select is always active state even when I enter in the modal it's already active. I don't have to click on it
Thank you for our time dude.