Hi,
When I use Legend widget (JS API 4.9) with card styling and chancing the amount of classbreaks then legend widget breaks. I see on the console log that error occurs:
Uncaught Error: div had a div child removed, but there is now more than one. You must add unique key properties to make them distinguishable.
at m (VM234 dojo.js:2302)
at v (VM234 dojo.js:2309)
at v (VM234 dojo.js:2308)
at v (VM234 dojo.js:2308)
at Object.update (VM234 dojo.js:2312)
...
(anonymous) @ index.html?sample=vi…-sm-classbreaks:126
a @ dojo.js:136
I have attached example file for demonstrating the problem. Change the "breaks" amount to see the crash.
This problem does not occur with classic style, only with card style.
Br,
Markus
Solved! Go to Solution.
Hi Markus Åfelt, it looks like we fixed this at 4.10. Could you update your app and verify that it works for you?
Hi Markus Åfelt, it looks like we fixed this at 4.10. Could you update your app and verify that it works for you?
Hi Noah,
I updated to 4.10 and card style legend is working now.