diff --git a/src/components/datatable/HeaderCheckbox.vue b/src/components/datatable/HeaderCheckbox.vue index 06b4c6375..6c33bd5f3 100755 --- a/src/components/datatable/HeaderCheckbox.vue +++ b/src/components/datatable/HeaderCheckbox.vue @@ -13,7 +13,6 @@ export default { inheritAttrs: false, props: { - disabled: null, checked: null }, data() { @@ -23,7 +22,7 @@ export default { }, methods: { onClick(event) { - if (!this.disabled) { + if (!this.$attrs.disabled) { this.$emit('change', event); this.$refs.input.focus(); } diff --git a/src/components/datatable/RowCheckbox.vue b/src/components/datatable/RowCheckbox.vue index 8e5e276ea..438e93cee 100755 --- a/src/components/datatable/RowCheckbox.vue +++ b/src/components/datatable/RowCheckbox.vue @@ -14,7 +14,6 @@ export default { inheritAttrs: false, props: { value: null, - disabled: null, checked: null }, data() { @@ -24,7 +23,7 @@ export default { }, methods: { onClick(event) { - if (!this.disabled) { + if (!this.$attrs.disabled) { this.$emit('change', { originalEvent: event, data: this.value