diff --git a/src/ui/c-input-text/c-input-text.vue b/src/ui/c-input-text/c-input-text.vue index b5f423d2..425d6243 100644 --- a/src/ui/c-input-text/c-input-text.vue +++ b/src/ui/c-input-text/c-input-text.vue @@ -28,6 +28,7 @@ const props = withDefaults( type?: 'text' | 'password' multiline?: boolean rows?: number | string + size: string autosize?: boolean autofocus?: boolean monospace?: boolean @@ -55,6 +56,7 @@ const props = withDefaults( type: 'text', multiline: false, rows: 3, + size: "1", autosize: false, autofocus: false, monospace: false, @@ -183,7 +185,7 @@ defineExpose({ :class="{ 'leading-5 !font-mono': monospace, }" - size="1" + :size="size" :placeholder="placeholder" :readonly="readonly" :disabled="disabled"