I found three more issues with UI updates for rendered elements.
- Input fields that are checkboxes are not updated if struct value is reset to unchecked or vice versa
- Tick checkbox
- Struct value
p.BoxEnabledis set to true, checkbox shows ticked off square in UI - Press reset form buton. The internal
p.BoxEnabledvalue is set back tofalse. - Checkbox UI square is still ticked off even if internal struct value is
false.
- TextArea text field is not updated if struct value is cleared
- Write some text into textarea widget
- Struct value
p.TextAreais updated with textarea value on change - Press reset form button. The internal
p.TextAreavalue is cleared - TextArea UI still contains text
- Selector option not reset
- Select
Barvalue from selector - Struct value
p.Selectoris updated with selected valueBar - Press reset form button. The internal
p.Selectorvalue is reset toFoo. - Selector UI still shows
Baras selected value