I think I correctly built a no-Flex HTML&JS test of RadioButtons:

http://home.apache.org/~aharui/Test/MDLRadioButtons.html

You can View Source on it to see if I did it right.

I found out that if I listen to the outer Label, then I get two click
events.  But if I listen to the inner Input, which this example does, then
I only get one click event.  So one possible workaround is to override
addEventListener and listen to the Input for "click".

Thoughts?
-Alex

On 2/1/17, 1:18 PM, "piotrz" <piotrzarzyck...@gmail.com> wrote:

>In other words in case of MDL we will have to live with this issue and my
>workaround fix. 
>
>Additional thing is that selected property won't work anymore, cause my
>fix
>is manual selecte/deselect element, but process of deselecting has been
>done
>without using selected.
>
>Carlos if we in somehow will have an array of RadioButton belonged to the
>same group, selected property could be used for data binding - In other
>case
>we should remove Binding from it.
>
>Piotr
>
>
>
>-----
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Click-Event-At
>t-Alex-and-Peter-was-Re-FlexJS-RadioButton-click-event-tp58835p58941.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to