feat: complete field documentation and TextArea examples
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import { Description, Input, Label, TextField } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TextField
|
||||
class="w-full max-w-64"
|
||||
default-value="USR-12345"
|
||||
is-disabled
|
||||
name="accountId"
|
||||
>
|
||||
<Label>账户 ID</Label>
|
||||
<Input placeholder="自动生成" />
|
||||
<Description>此字段不可编辑</Description>
|
||||
</TextField>
|
||||
</template>
|
||||
Reference in New Issue
Block a user