feat(front): textarea in channel edit form

This commit is contained in:
ArneBo 2025-04-02 05:03:52 +02:00
parent dae35ae5ce
commit f4a6aa4b2a
1 changed files with 6 additions and 5 deletions

View File

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