hkalbertl / jquery.appendGrid

The dynamic table input JavaScript plugin
https://appendgrid.azurewebsites.net
MIT License
148 stars 77 forks source link

ctrlClass not added for checkbox type #136

Closed malohtie closed 3 years ago

malohtie commented 3 years ago

Hi,

when adding a custom class for the checkbox input type it doesn't append is it the normal behaviour ? as the docs say it will not be applied only for custom type.

{
      name: "isNPO",
      display: "NPO?",
      type: "checkbox",
      ctrlClass: "my-class"
},

https://codepen.io/malohtie/pen/NWrKpJw

image

hkalbertl commented 3 years ago

Hi malohtie,

Yes, it is a bug on Bootstrap checkbox. There is an update version in master branch that fixed this issue. I am testing on other cases now and publish it if there are no further problems. Thanks!