diff --git a/packages/vue-form/src/components/CheckboxInput.vue b/packages/vue-form/src/components/CheckboxInput.vue index 08d279f5a..3ba4f26ae 100644 --- a/packages/vue-form/src/components/CheckboxInput.vue +++ b/packages/vue-form/src/components/CheckboxInput.vue @@ -55,6 +55,10 @@ import type { InputOption } from "../types"; import type { PropType } from "vue"; const props = defineProps({ + checked: { + default: false, + type: Boolean, + }, direction: { default: undefined, type: String, @@ -64,15 +68,15 @@ const props = defineProps({ default: false, type: Boolean, }, + inputLabel: { + default: undefined, + type: String as PropType, + }, label: { default: "", required: false, type: String as PropType, }, - checked: { - default: false, - type: Boolean, - }, modelValue: { default: () => [] as string[] | number[], type: Array as PropType, @@ -86,10 +90,6 @@ const props = defineProps({ default: () => [] as string[] | number[], type: Array as PropType, }, - inputLabel: { - default: undefined, - type: String as PropType, - }, schema: { default: () => { return {};