PDA

View Full Version : [FIXED] radiofield check/uncheck events



pagameba
4 Nov 2011, 12:45 PM
I'm trying to get the check event of a radiofield in the control() method of my controller and it seems that check is never fired. However, uncheck is fired and it seems to be the check event because the passed element is the element that was clicked.

mitchellsimoens
4 Nov 2011, 1:18 PM
This is a known bug and was fixed this week so it should make it into the next release.

pagameba
4 Nov 2011, 1:18 PM
Looking forward to the next update :)

frankpeng
17 Nov 2011, 11:40 AM
Hi. I had the same problem. To circumvent the issue for now, I would like to get any radiofield event. I wonder how you could trigger a "uncheck" radio button event.

Thanks

pagameba
22 Nov 2011, 10:19 AM
I just used uncheck instead of check in my control function, i.e. this.control({'radiofield': { uncheck: function(data) { /* handle stuff */ } } } );

But I would suggest you check the new developer preview release before trying a workaround since they have already fixed the problem.

ibraylovskiy
28 Mar 2012, 9:49 PM
Was this ever fixed? I am still getting it today with version 2.0.0

Jamie Avins
29 Mar 2012, 7:35 AM
I'll reopen this to verify it is working for 2.0.1

rdougan
29 Mar 2012, 12:53 PM
Yeah, the events are much more consistent and will be available in the next release.

Thanks.