diff options
author | 2023-06-11 21:16:26 +0200 | |
---|---|---|
committer | 2023-06-11 21:27:40 +0200 | |
commit | 1e2a35b89235865cb34b450eb07c8e162cc3513e (patch) | |
tree | 4bca5de077ef801274039735bcec4d019cf08c6d /src | |
parent | 45c247427951b98136660422eaf756c59daccc0f (diff) | |
download | it-tools-1e2a35b89235865cb34b450eb07c8e162cc3513e.tar.gz it-tools-1e2a35b89235865cb34b450eb07c8e162cc3513e.tar.zst it-tools-1e2a35b89235865cb34b450eb07c8e162cc3513e.zip |
refactor(c-input-text): force usage of props with default
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/c-input-text/c-input-text.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/c-input-text/c-input-text.vue b/src/ui/c-input-text/c-input-text.vue index 90d7152..99afd27 100644 --- a/src/ui/c-input-text/c-input-text.vue +++ b/src/ui/c-input-text/c-input-text.vue @@ -1,5 +1,4 @@ <script lang="ts" setup> -import type { Ref } from 'vue'; import { useAppTheme } from '../theme/themes'; import { useTheme } from './c-input-text.theme'; import { generateRandomId } from '@/utils/random'; @@ -61,7 +60,7 @@ const emit = defineEmits(['update:value']); const value = useVModel(props, 'value', emit); const showPassword = ref(false); -const { id, placeholder, label, validationRules, labelPosition, labelWidth, labelAlign, autosize } = toRefs(props); +const { id, placeholder, label, validationRules, labelPosition, labelWidth, labelAlign, autosize, readonly, disabled, clearable, type, multiline, rows, rawText } = toRefs(props); const validation = props.validation |