Files
heroui-vue/apps/docs/demos/textfield-disabled.vue
T

17 lines
388 B
Vue

<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>