ChoiceItem
radio buttons are duplicated when using callbacks
#73
Labels
ChoiceItem
radio buttons are duplicated when using callbacks
#73
Description
When using the
ChoiceItem
component with a callback in aDataSet
, and displayingthe
DataSet
with aDataSetEditGroupBox
, the radio buttons are duplicated when thecallback is triggered at initialization.
Solution
During initialization, the
DataSetEditGroupBox
calls theDataSet
'sget
methodwhich triggers the callback and reinitializes the
ChoiceItem
widget. The radiobuttons are then destroyed and recreated, but the old ones are still visible (their
destruction is handled but in a deferred way).
This can be fixed by simply hiding those old radio buttons in the meantime.
The text was updated successfully, but these errors were encountered: