How do custom field : Dynamic datalist + Input array
Hello,
I try to migrate my old backend to filament. The last thing I need to do is the one in the video. For the moment it's JS vanilla but I realy don't know how make it as custom field with livewire.
Edit: I finaly succed to do it with hidden field and input event js, but how can i do it properly
6 Replies
That looks like you want a repeater field but the first being a select from a relationship ship
Yes but how make it. I saw in the documentation that we need to a button to add a new element with a repeater. I need the new element when I click on the datalist ...
It would need to be a button to add another row.
So that not what i need, any other suggestion ?
Build your own repeater component.
That's my main problem 😅 I don't know how to do it. Filament documentation is quite empty with field / layout ^^