View Full Version : CheckboxGroup should support itemId in its getBox method

15 Jun 2010, 10:25 AM
This is more of a feature request, but I can't post in feature requests.

I think the CheckboxGroup's getBox method should also check for itemId.

That way we don't need to use an actual dom id or index when using setValue.

Also, getBox() should probably be fixed in the documentation. Or the name changed or something. Being that the BoxComponent's getBox() and the CheckboxGroup's getBox() are very different ;)

EDIT: hmm, maybe dataIndex is the same thing? For now I'm just specifying a dataIndex string on my radioGroup, though it's not loaded from a store or anything... But anyways, seems to work.