feat: complete field documentation and TextArea examples
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import { FieldError, Input, Label, TextField } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TextField class="w-full max-w-64" is-invalid name="email" type="email">
|
||||
<Label>邮箱</Label>
|
||||
<Input placeholder="user@example.com" />
|
||||
<FieldError>请输入有效的邮箱地址</FieldError>
|
||||
</TextField>
|
||||
</template>
|
||||
Reference in New Issue
Block a user