Only show label in a infolist
I want to show only a label in a repeatableentry without a value in a infolist. Is this somehow possible?
Everything I tried didn't work. I need to align the labels with the values in the other repeatableentries.
12 Replies
Something like ->formatStateUsing(fn() => ‘’) ?
Just use a Placeholder?
Does not work in a infolist. Gives me
Ah, right, they are form components.
So just an empty TextEntry? 🤔
Or a ViewEntry
Textentry gives me the relation
I am only doing it with a repeatableentry to get the same layout and to align the labels with the values in the next repeatable entry
::make('')
should never be an empty string. It's a unique identifier
This works but is most probably not optimal?
What about this?
This aligns better
another opt
->state('Gross Rent')
You mean like so