fix(ui): use translations in textarea component
This commit is contained in:
parent
bb9402a8a2
commit
1a32945bf0
|
@ -1,12 +1,15 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { nextTick, computed, ref, type ComputedRef, onMounted } from 'vue'
|
import { nextTick, computed, ref, type ComputedRef, onMounted } from 'vue'
|
||||||
import { useTextareaAutosize, computedWithControl, useManualRefHistory, watchDebounced } from '@vueuse/core'
|
import { useTextareaAutosize, computedWithControl, useManualRefHistory, watchDebounced } from '@vueuse/core'
|
||||||
|
import { useI18n } from "vue-i18n"
|
||||||
|
|
||||||
import Button from './Button.vue'
|
import Button from './Button.vue'
|
||||||
import Spacer from './Spacer.vue'
|
import Spacer from './Spacer.vue'
|
||||||
import Markdown from './Markdown.vue'
|
import Markdown from './Markdown.vue'
|
||||||
import Layout from './Layout.vue'
|
import Layout from './Layout.vue'
|
||||||
|
|
||||||
|
const { t } = useI18n()
|
||||||
|
|
||||||
const { charLimit = Infinity, placeholder = '', initialLines: minLines = 3, ...props } = defineProps<{
|
const { charLimit = Infinity, placeholder = '', initialLines: minLines = 3, ...props } = defineProps<{
|
||||||
label?: string,
|
label?: string,
|
||||||
placeholder?: string,
|
placeholder?: string,
|
||||||
|
|
Loading…
Reference in New Issue