Closed hohwille closed 11 years ago
If you care a new UiWidget*Field and call setValue with some value and then attach the widget to the UI you will not see the value. Only after the widget is attached and the WidgetAdapter has been created, setValue works as expected.
AbstractUiWidgetField.initializeWidgetAdapter:
VALUE value = getValue();
changed to
VALUE value = getRecentValue();
fixed it as getValue() is reading the value from the WidgetAdapter that is just created.
If you care a new UiWidget*Field and call setValue with some value and then attach the widget to the UI you will not see the value. Only after the widget is attached and the WidgetAdapter has been created, setValue works as expected.