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
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:
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:
is working on a reply...