feat(front): textarea in channel edit form

environments/review-docs-feat-z0hkbz/deployments/20972
ArneBo 2025-04-02 05:03:52 +02:00
rodzic dae35ae5ce
commit f4a6aa4b2a
1 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -8,11 +8,11 @@ import { useI18n } from 'vue-i18n'
import axios from 'axios'
import AttachmentInput from '~/components/common/AttachmentInput.vue'
import TagsSelector from '~/components/library/TagsSelector.vue'
import Layout from '~/components/ui/Layout.vue'
import Alert from '~/components/ui/Alert.vue'
import Input from '~/components/ui/Input.vue'
import Textarea from '~/components/ui/Textarea.vue'
import Pills from '~/components/ui/Pills.vue'
@ -282,10 +282,11 @@ defineExpose({
</select>
</div>
<div class="ui field">
<label for="channel-name">
{{ t('components.audio.ChannelForm.label.description') }}
</label>
<content-form v-model="newValues.description" />
<Textarea
v-model="newValues.description"
:label="t('components.audio.ChannelForm.label.description')"
initial-lines="3"
/>
</div>
<template
v-if="newValues.content_category === 'podcast'"