View Full Version : [INFOREQ][3.x] Radio does not fire check event

15 Jan 2010, 11:53 AM

It seems whenever the componente has { checked : true } as part of initial config, the event is not fired - neither the handler callback is called.

I saw the behaviour regardless if radio was part of a radiogroup or not.


ps : sorry, but no unit test for now]

Jamie Avins
15 Jan 2010, 12:04 PM
If you could throw out a quick testcase I'll get it entered.

10 Feb 2010, 1:56 AM

10 Feb 2010, 2:38 AM
i.e. {checked: true} will call the radio setValue() function which will only set the check state of that radio.

If you have other radio buttons, with the same name, then you could get into problems if there are conflicting configs for the radios. setValue() won't sort out the correct check state of the other radios with the same name. You have to make sure you haven't set up any conflicts. The check event may not fire.

Alternatively, if what you mean is that the check event should fire when you set {checked: true} then I'm not sure I would agree.