When a field returns no data, you may choose not to display this element
I need to display the list of users' skills and a title (label-xyz
). But some users did not provide any skills.
In this case, I would like to stop displaying the label. Or even better, no elements are created in the DOM.
Here is an example with one user having filled in skills and another not having filled in https://jsbin.com/qaxedejive/edit?html,css,output
Is it possible to not display the content of sib-display-value
or not created sib-display-value
and sib-multiple
in the DOM?