feat: 添加自动高度文本框插件,更新 FormKit 配置以支持 textarea 类型
All checks were successful
/ surge (push) Successful in 37s

This commit is contained in:
严浩
2024-11-19 16:48:06 +08:00
parent 8a1398d91d
commit 60a265e139
2 changed files with 12 additions and 5 deletions

View File

@ -124,7 +124,12 @@ const SCHEMA: FormKitSchemaDefinition = [
:plugins="[castNumber]"
class="mb-4"
/>
<FormKit
type="textarea"
auto-height
label="我有自动高度插件"
help="这个文本框会随着输入内容增加而增高"
/>
<!-- By default groups do not show validation messages, so we need to add it manually -->
<ul