You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by hu...@apache.org on 2022/10/06 13:55:59 UTC

[royale-asjs] branch develop updated: Turn the RadioButton selected property bindable as CheckBox

This is an automated email from the ASF dual-hosted git repository.

hugoferreira 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 40b8547148 Turn the RadioButton selected property bindable as CheckBox
40b8547148 is described below

commit 40b854714801abba3a65e224b5d1d1c9dac26abf
Author: Hugo Ferreira <hf...@solidsoft.pt>
AuthorDate: Thu Oct 6 14:57:43 2022 +0100

    Turn the RadioButton selected property bindable as CheckBox
---
 .../Basic/src/main/royale/org/apache/royale/html/RadioButton.as         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/RadioButton.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/RadioButton.as
index 30d2b05a2f..0802347eaf 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/RadioButton.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/RadioButton.as
@@ -113,6 +113,7 @@ package org.apache.royale.html
 			IValueToggleButtonModel(model).text = value;
 		}
 
+        [Bindable("change")]
 		/**
 		 *  Whether or not the RadioButton instance is selected. Setting this property
 		 *  causes the currently selected RadioButton in the same group to lose the
@@ -297,6 +298,7 @@ package org.apache.royale.html
 		/**
 		 * @royaleignorecoercion HTMLInputElement
 		 */
+        [Bindable("change")]
         public function get selected():Boolean
         {
             return (icon.element as HTMLInputElement).checked;