PDA

View Full Version : [UNKNOWN][3.??] CheckboxGroup.isDirty() always returns true for RadioGroup!



cginzel
8 Jan 2010, 2:54 PM
I've seen several other threads on this isDirty() implementation but they all seem to be focused on the results for the Ext.form.CheckboxGroup. However the same override is inherited on the Ext.form.RadioGroup as well in which case iterating over all the children in the group will undoubtedly return true since only one radio button can be checked and the rest not, yet the original value for comparison doesn't match all of the radio widgets in the group...

jsakalos
9 Jan 2010, 10:03 AM
Right. It looks like a bug (a missing feature) as RadioGroup needs its own isDirty implementation. Do you want me to move this thread to Bugs?

cginzel
9 Jan 2010, 12:11 PM
Yes Saki. I would agree with that. Thanks.

Condor
10 Jan 2010, 10:40 PM
Duplicate of this (http://www.extjs.com/forum/showthread.php?t=88090) and this (http://www.extjs.com/forum/showthread.php?t=73699) report.

cginzel
11 Jan 2010, 7:52 AM
Condor, these really aren't duplicates. The bug I'm reporting is not in the checkbox which works as expected. The problem is only with the radio group which needs a different implementation from the checkbox.