diff --git a/src/qComponents/QCascader/src/QCascaderInput/QCascaderInput.vue b/src/qComponents/QCascader/src/QCascaderInput/QCascaderInput.vue index 9e50663d..eac55a4f 100644 --- a/src/qComponents/QCascader/src/QCascaderInput/QCascaderInput.vue +++ b/src/qComponents/QCascader/src/QCascaderInput/QCascaderInput.vue @@ -50,7 +50,7 @@ export default defineComponent({ {} as QCascaderProvider ); - const value = computed>(() => { + const value = computed>(() => { const modelValue = qCascader.modelValue.value; if (Array.isArray(modelValue)) return null; diff --git a/src/qComponents/QCascader/src/QCascaderInput/types.ts b/src/qComponents/QCascader/src/QCascaderInput/types.ts index 465087bc..442f0a24 100644 --- a/src/qComponents/QCascader/src/QCascaderInput/types.ts +++ b/src/qComponents/QCascader/src/QCascaderInput/types.ts @@ -3,7 +3,7 @@ import type { Ref, ComputedRef } from 'vue'; import type { Nullable } from '#/helpers'; export interface QCascaderInputInstance { - value: ComputedRef>; + value: ComputedRef>; multiple: Ref>; disabled: ComputedRef; placeholder: ComputedRef>; diff --git a/src/qComponents/QCascader/src/QCascaderRow/QCascaderRow.vue b/src/qComponents/QCascader/src/QCascaderRow/QCascaderRow.vue index 0eb83862..d1701786 100644 --- a/src/qComponents/QCascader/src/QCascaderRow/QCascaderRow.vue +++ b/src/qComponents/QCascader/src/QCascaderRow/QCascaderRow.vue @@ -3,7 +3,7 @@ :id="uniqueId" :class="rootClasses" role="menuitem" - :tabindex="row.disabled ? false : -1" + :tabindex="row.disabled ? undefined : -1" @click="handleClick" @keyup.right="handleRightKeyUp" @keyup.enter="handleEnterKeyUp"