diff --git a/src/components/inputs/Checkbox.js b/src/components/inputs/Checkbox.js index 9f6f78b..8bfe947 100644 --- a/src/components/inputs/Checkbox.js +++ b/src/components/inputs/Checkbox.js @@ -10,10 +10,9 @@ export default description => ({ functional: true, props: {value: {required: true, type: Boolean}}, render(h, {props, listeners}) { - // TODO :: create normal element instead of Bootstrap Vue element return h( - 'b-checkbox', - {props: {checked: props.value, required: true, switch: true}, on: {input: e => listeners.update(e)}}, + 'input', + {attrs: {type:"checkbox"}, props: {checked: props.value, required: true, value: true}, on: {input: e => listeners.update(e.srcElement.checked)}}, [description[props.value ? 1 : 0]] ); },