Path: blob/main/release-content/release-notes/radio_group_and_button_widget_improvements.md
7223 views
------RadioButton and RadioGroup usage remains fully backward compatible.
Improvements:
Event propagation from user interactions will now be canceled even if widgets are disabled. Previously, some relevant event propagation was not properly canceled.
RadioButtonnow emits aValueChange<bool>entity event when checked, even when checked via aRadioGroup. Consistent with otherCheckablewidgets. As aRadioButtoncannot be unchecked through direct user interaction with this widget, aValueChangeevent with valuefalsecan not be triggered forRadioButton.If a
RadioButtonis focusable, a value change event can be triggered using the Space or Enter keys when focused.RadioGroupis now optional and can be replaced with a custom implementation.