About Repeaters

Hello Filament community. I'd been using this framework for almost two months. Repeaters are such a great Filament feature! In Filament V3: How can I customize a Repeater in order to be able to drag it from the header instead of the arrows?
No description
7 Replies
awcodes
awcodes12mo ago
You have to use the actual button on the left to drag them.
WashingtonG
WashingtonGOP12mo ago
I'd tried increasing button width, it seams to work...at least using developer tools. How can I target that button without messing with the rest. It belongs to a li with these attributes: <li x-sortable-handle="" x-on:click.stop="">
No description
WashingtonG
WashingtonGOP12mo ago
This worked: .fi-fo-repeater-item-header ul li button:first-of-type { width: 100px; } Thanks.
WashingtonG
WashingtonGOP12mo ago
This one actually works.
No description
awcodes
awcodes12mo ago
I bet that item-header is a flex display so you might even be able to tell it to self stretch to make it take up the available space in the header.
WashingtonG
WashingtonGOP12mo ago
That was even better. Thank you.
No description
WashingtonG
WashingtonGOP12mo ago
Final result.
No description

Did you find this page helpful?