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?

stefan kruessmannstefan kruessmann Posts: 4Questions: 3Answers: 0

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

This discussion has been closed.