Styled but Unclickable Checkboxes
Closed this issue · 4 comments
I have been trying to get this radio/checkboxes to work and I got styling to show but can't click/toggle any of them. I looked at the documentation but it's pretty sparse. Is there any initializers I need to add to the JS?
Hey @mgarf got the same issue here.. what did you do to resolve this situation?
Hi @phildaponte ,
I used the top answer here for reference http://stackoverflow.com/questions/25846115/icheck-js-in-meteor-0-9-1-1. In terms of File placement and used this to initialize the code:
Template.[The name of your template].rendered = function() {
this.$("input").iCheck({
checkboxClass: "icheckbox_square-purple",
radioClass: "iradio_square-purple"
});
};
Oh no a competitor!
Checkboxes just need
$('.ui.checkbox').checkbox();
Or match the iD field of the label to the input and don't use JavaScript.
See usage tab of checkbox docs
sorry, I thought this was a issue regarding iCheck, didn't realize this was not the right repository. I wrote that response above when I was half asleep