mirror of https://github.com/wg-easy/wg-easy
5 changed files with 52 additions and 9 deletions
@ -0,0 +1,10 @@ |
|||
<template> |
|||
<textarea |
|||
v-model="data" |
|||
class="rounded-lg border-2 border-gray-100 text-gray-500 focus:border-red-800 focus:outline-0 focus:ring-0 dark:border-neutral-800 dark:bg-neutral-700 dark:text-neutral-200 dark:placeholder:text-neutral-400" |
|||
/> |
|||
</template> |
|||
|
|||
<script lang="ts" setup> |
|||
const data = defineModel<string>(); |
|||
</script> |
|||
@ -0,0 +1,29 @@ |
|||
<template> |
|||
<div class="flex items-center"> |
|||
<FormLabel :for="id"> |
|||
{{ label }} |
|||
</FormLabel> |
|||
<BaseTooltip v-if="description" :text="description"> |
|||
<IconsInfo class="size-4" /> |
|||
</BaseTooltip> |
|||
</div> |
|||
<BaseTextArea |
|||
:id="id" |
|||
v-model.trim="data" |
|||
:name="id" |
|||
:autocomplete="autocomplete" |
|||
:disabled="disabled" |
|||
/> |
|||
</template> |
|||
|
|||
<script lang="ts" setup> |
|||
defineProps<{ |
|||
id: string; |
|||
label: string; |
|||
description?: string; |
|||
autocomplete?: string; |
|||
disabled?: boolean; |
|||
}>(); |
|||
|
|||
const data = defineModel<string>(); |
|||
</script> |
|||
Loading…
Reference in new issue