How can i use Bootstrap "data-toogle" instead of a standard checkbox in the Editor?
How can i use Bootstrap "data-toogle" instead of a standard checkbox in the Editor?

How can i use Bootstrap "data-toogle" instead of a standard checkbox in the Editor?
I tried with:
....{
label: "Status ",
name: "mit_status",
type: "checkbox",
display: function(mit_status) {
return '<input type="checkbox" name="' + editor.mit_status + '" checked data-bootstrap-switch data-off-color="danger" data-on-color="success">';
},
options: [
"aktiv"
],....
This question has an accepted answers - jump to answer
Answers
See if this thread helps.
Kevin
thx!