Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Hide <li> elements based on whether user inputs content in grid editor
I created a simple grid editor that allows the content editor to enter up to 5 strings, which are then inserted into a list-group. The items are displayed just fine, but I want the
This is what is rendered in the HTML currently:
I'm not entirely sure how to do this condition. I tried testing for whether the value was null, empty or undefined but it still displays the li element.
My controller is very simple as it only contains the scope values for the various strings: