I am working with the Web App Builder 2.10. I customized the legend widget html to display some fixed items (widgets\Legend\Widget.html). I also want to display a dynamic legend. However, by default when no layers are selected, the second part of the widget (the dynamic legend) displays "Pas de légende". How can I remove this ?
Solved! Go to Solution.
I tried this piece of code but it didn't work. However this code works (WebAppBuilder 2.10):
Hi Laurent Dedry,
Did you see this thread: Layerlist with a Legend sample ?
The solution there was to suppress the message using CSS:
div.esri-legend__message {
display: none;
}
HTH,
Egge-Jan
I tried this piece of code but it didn't work. However this code works (WebAppBuilder 2.10):