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')
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248717267169050836/Screenshot_2024-06-07_211508.png)
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248717267483754546/Screenshot_2024-06-07_211611.png)
You mean like so