|
|
|
@ -2,6 +2,7 @@
|
|
|
|
<textarea
|
|
|
|
<textarea
|
|
|
|
class="bg-secondary w-full max-w-2xl resize-none border-none outline-none placeholder:text-zinc-700 focus:outline-none"
|
|
|
|
class="bg-secondary w-full max-w-2xl resize-none border-none outline-none placeholder:text-zinc-700 focus:outline-none"
|
|
|
|
v-model="data"
|
|
|
|
v-model="data"
|
|
|
|
|
|
|
|
:rows="props.row"
|
|
|
|
:placeholder="props.placeholder"
|
|
|
|
:placeholder="props.placeholder"
|
|
|
|
@input="updateData()">
|
|
|
|
@input="updateData()">
|
|
|
|
</textarea>
|
|
|
|
</textarea>
|
|
|
|
@ -11,6 +12,7 @@
|
|
|
|
interface Props {
|
|
|
|
interface Props {
|
|
|
|
modelValue: string;
|
|
|
|
modelValue: string;
|
|
|
|
placeholder?: string;
|
|
|
|
placeholder?: string;
|
|
|
|
|
|
|
|
row?: number;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const props = defineProps<Props>();
|
|
|
|
const props = defineProps<Props>();
|
|
|
|
|