the definition of this widget has changed every time I restart Studio

0
Hi. I made a custom widget and I’m testing it right now. Every time I reopen the test project I get this error: "the definition of this widget has changed". This is temporarily solved by updating the widget. “Synchronize App Directory" does not bring the error back, but restarting Studio does. How to troubleshoot?
asked
1 answers
0

From widget XML I removed the properties one by one and found that it was caused by a blank enumeration caption:

<enumerationValue key="_"> </enumerationValue>

I replaced the caption with a dot and now it works.

 

I needed to add description for the entire propertyGroup, but  only properties support that element. That’s why I added a single-value enumeration with a blank caption and added description in it.

answered