Question
iconFunction field for NavBar
So for the past day or so I have been looking for a way to either highlight or put an icon in front of items in a LinkBar for certain items in a dataProvider. For instance in the LinkBar I wanted to highlight certain links that had a property set to true in the value object that I bound to the LinkBar.
For the LinkBar you can specify a labelField and labelFunction, but for icons you can only specify an iconField. To me that seems wrong, like an omission that someone accidentally overlooked. Does anyone have a workaround or know why you can't specify an iconFunction like you can in other components?
I went ahead and posted an issue in the bug system: https://bugs.adobe.com/jira/browse/SDK-16296 to see if that garnered any response.
Sorry if this is the wrong place. The message is more for discussion about adding the iconFunction to the NavBar class so the nav controls all can use it.
For the LinkBar you can specify a labelField and labelFunction, but for icons you can only specify an iconField. To me that seems wrong, like an omission that someone accidentally overlooked. Does anyone have a workaround or know why you can't specify an iconFunction like you can in other components?
I went ahead and posted an issue in the bug system: https://bugs.adobe.com/jira/browse/SDK-16296 to see if that garnered any response.
Sorry if this is the wrong place. The message is more for discussion about adding the iconFunction to the NavBar class so the nav controls all can use it.
