Commit 753d0a4
committed
Hide
There will always be at least one value—for the `DefaultLabel`—so if the `TopicList.Count` isn't greater than `1` then hide the attribute from the interface entirely. This includes hiding the `Layout`, as otherwise the attribute wrapper will be displayed without the dropdown list.TopicListViewComponent if no values are returned1 parent b727cf1 commit 753d0a4
1 file changed
Lines changed: 12 additions & 8 deletions
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments