You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2020/04/03 09:46:10 UTC
[royale-asjs] branch develop updated: Default label value is "",
but we don't want that to mean the first rb is selected by default.
This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 4aaaaca Default label value is "", but we don't want that to mean the first rb is selected by default.
new 61a97e6 Merge branch 'develop' of https://gitbox.apache.org/repos/asf/royale-asjs into develop
4aaaaca is described below
commit 4aaaaca80bce42612ba72d18fb42233a14bc5460
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Fri Apr 3 12:44:02 2020 +0300
Default label value is "", but we don't want that to mean the first rb
is selected by default.
Reference #790
---
.../projects/MXRoyale/src/main/royale/mx/controls/RadioButtonGroup.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RadioButtonGroup.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RadioButtonGroup.as
index ec6b7b4..2c23f2e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RadioButtonGroup.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RadioButtonGroup.as
@@ -360,7 +360,7 @@ public class RadioButtonGroup extends EventDispatcher
{
var radioButton:RadioButton = getRadioButtonAt(i);
if (radioButton.value == value ||
- radioButton.label == value)
+ value != "" && radioButton.label == value)
{
changeSelection(i, false);
break;