Also, apparently this is a known behavior when Input is a child of Label http://stackoverflow.com/questions/17185265/jquery-click-event-triggers-twi ce-when-clicked-on-html-label
HTH, -Alex On 2/1/17, 10:15 PM, "Alex Harui" <aha...@adobe.com> wrote: >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-A >>t >>t-Alex-and-Peter-was-Re-FlexJS-RadioButton-click-event-tp58835p58941.html >>Sent from the Apache Flex Development mailing list archive at Nabble.com. >