Skip to content

Commit fe96352

Browse files
committed
Added release note for radio group and button widget improvements
1 parent 9806468 commit fe96352

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: "`RadioButton`, `RadioGroup` widget minor improvements"
3+
authors: ["@PPakalns"]
4+
pull_requests: [21294]
5+
---
6+
7+
`RadioButton` and `RadioGroup` usage remains fully backward compatible.
8+
9+
Improvements:
10+
- Event propagation from user interactions will now be canceled even if
11+
widgets are disabled. Previously, some relevant event propagation
12+
was not properly canceled.
13+
- `RadioButton` now emits a `ValueChange<bool>` entity event when checked,
14+
even when checked via a `RadioGroup`. Consistent with other `Checkable` widgets.
15+
As a `RadioButton` cannot be unchecked through direct user interaction with this widget,
16+
a `ValueChange` event with value `false` can not be triggered for `RadioButton`.
17+
- If a `RadioButton` is focusable, a value change event can be triggered
18+
using the **Space** or **Enter** keys when focused.
19+
- `RadioGroup` is now optional and can be replaced with a custom implementation.
20+

0 commit comments

Comments
 (0)