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
toeknee
toeknee3mo ago
That looks like you want a repeater field but the first being a select from a relationship ship
Frédéric
Frédéric3mo ago
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 ...
toeknee
toeknee3mo ago
It would need to be a button to add another row.
Frédéric
Frédéric3mo ago
So that not what i need, any other suggestion ?
toeknee
toeknee3mo ago
Build your own repeater component.
Frédéric
Frédéric3mo ago
That's my main problem 😅 I don't know how to do it. Filament documentation is quite empty with field / layout ^^
Want results from more Discord servers?
Add your server
More Posts