New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkboxradio: Do not _findLabel() on a pre-rendered checkboxradio #7470

Closed
gabrielschulhof opened this Issue Jun 4, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@gabrielschulhof
Contributor

gabrielschulhof commented Jun 4, 2014

Currently, checkboxradio unconditionally calls _findLabel() during _create(). This is bad for a pre-rendered checkboxradio because the label can be assumed to be a sibling of the input - in fact, the only sibling of the input under the <div class="ui-checkbox"> parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment