Widget properties do not update correctly

Describe the bug:
When changing widget property values in Lua the widget does not update.

How do you cause this bug?

  • Use a widget property like this: <property name="tradingPartnerIcon" type="text" default="coui://assets/icons/fbdb75f6-0060-4cdd-b05b-b1ad43c62e61.png"></property>
  • HTML: <div class="trading-player-icon" data-bind-style-background-image-url="{{properties.tradingPartnerIcon}}"></div>
  • CSS:
.trading-player-icon {
			width: 1.5vw;
			height: 1.5vw;
			background-repeat: no-repeat;
			background-size: cover;
			margin-right: 0.2vw;
		}
  • Now change the widget value in Lua like this: self.widget.properties.tradingPartnerIcon = tradingPartner:GetPlayerCardIcon()
  • The widget will not update and still shows the default value for the icon

If you use a JSModel for the data binding instead, then it updates correctly:

engine.createJSModel('data',
		{
			tradingPartnerName: "Daigoro",
			tradingPartnerIcon: "coui://assets/icons/fbdb75f6-0060-4cdd-b05b-b1ad43c62e61.png",
		});

Which platform: PC

Which input: keyboard + mouse

Your Crayta username: Vilva#9953

Game seen in (including “Hub” or “Editor for XYZ”): Editor for “Trading Package - Adventure Starter”

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: 07.11.2022

Version number (found in Help tab in Settings): 0.h2.65.135119