Repeater format more compact (like KeyValue) #3429
-
Hello. Is there anyway to format the Repeater component more like the KeyValue, i.e. remove the borders and present the items in a more compact way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
There isn't really a way to move the labels like that, but you can remove the containers to make it more compact Copied the However, a new |
Beta Was this translation helpful? Give feedback.
There isn't really a way to move the labels like that, but you can remove the containers to make it more compact
Copied the
repeater.blade.php
, removed all the container padding, and then saved it in a Blade file likeviews/forms/compact-repeater.blade.php
. And then pass in->view('forms.compact-repeater')
to the Repeater when you use it.However, a new
->compact()
method for the repeater that modifies the existing layout for you would be nice. Want to PR?