-
Notifications
You must be signed in to change notification settings - Fork 97
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
The plugin return label "null". #76
Comments
Are you calling .prettyCheckable on each? Check the documentation. You need a for loop and instantiate it on each
|
same problem here. |
loop and instantiate it on each checkable works. |
data-label is required then? |
I believe this bug was introduced with the label auto detection. Are you using any labels at all for your input? Can you open an issue explaining that if no label is provided, either by inline options or auto detected, the null is showing up? |
I think, It was fixed in my pull request #81 |
This is still NOT fixed. See this fiddle https://jsfiddle.net/eqsfsrh3/ |
My pull request was rejected because there was a lot of changes. If you need my changes you can merge this request locally on your machine. |
Thanks a lot, but I'd rather stick with the official version for now. I used this trick for now:
Simple enough to be an acceptable work around in my opinion. |
Ended up using a combination of JS & CSS. On the Javascript/jQuery side:
And on the CSS side:
|
I fixed it using an label for each input and inserted an for on each label. |
HTML copy from your website.
Jquery 2.x
prettyCheckable: 2.1.2
Bootstrap 3.1.1
Firefox 29.0.1
The text was updated successfully, but these errors were encountered: