feat: complete public Form migration and validation focus contract
This commit is contained in:
+2
-3
@@ -59,6 +59,7 @@ Form 的 `validation-errors` 是以字段 name 为键、字符串或字符串数
|
||||
|
||||
本页交付共享协议和验证场景,是字段/表单基础设施指南,不替代独立组件文档。TextField、Label、Description、FieldError、TextArea 的完整 API 与基线示例见各自组件页:
|
||||
|
||||
- [Form 表单](/components/form)
|
||||
- [TextField 文本输入框](/components/text-field)
|
||||
- [Label 标签](/components/label)
|
||||
- [Description 描述](/components/description)
|
||||
@@ -67,6 +68,4 @@ Form 的 `validation-errors` 是以字段 name 为键、字符串或字符串数
|
||||
|
||||
已迁移的三个 TextField 基线示例仍在此展示,便于联调验证。
|
||||
|
||||
SSR 支持标准的直接子部件、原生元素/Fragment 包裹的 Description/FieldError,即使说明放在控件之后也能生成完整 ID 关联。自定义 Vue 包装组件中的描述在客户端注册;若首屏 SSR 必须关联,请显式提供控件 aria-describedby 和对应描述 id。Nuxt 完整消费验收尚未进行。
|
||||
|
||||
Fieldset 的禁用继承、Checkbox/Radio/集合字段、异步校验调度仍是后续任务,不从本页示例推断已经实现。
|
||||
当前仅支持浏览器客户端使用,SSR/水合/Nuxt 服务端不在支持范围。Form 的正式 API、3 个固定源示例及行为差异见 [Form 表单](/components/form)。Fieldset 和 Checkbox/Radio 已集成;异步校验调度仍由调用方处理。
|
||||
|
||||
Reference in New Issue
Block a user