Hi Samim,
Use visibility condition. Check the empty condition for the entity attribute.
Please find the below image,
Hi Samim
This could be done with with CSS content
https://www.w3schools.com/cssref/pr_gen_content.asp
Add to you theme CSS
.dash-empty li.mx-listview-empty label {
display: none;
}
.dash-empty li.mx-listview-empty:after {
content: "-";
}
This CSS will do it for all list views that have a css class `dash-empty` Add this class to your list view
Cheers, Andries
Just to clarify I want to show dash for each cell that is empty in listview.
Hi Andries Smit,
“mx-listview-empty” only gets assigned when the listview is empty.
My scenario is different listview is not empty, rather it has some cell values that are empty I want those cells to have dashes – I cannot add dashes in model for empty values as validation would fail otherwise. Hope it makes it a bit clear
Thanks
If it is an input field you can try the selector: input[value=""]
else give :empty
a try, combined with what Andries wrote