iter(g121): textField 补 maxCount 字数统计

This commit is contained in:
HIsheR
2026-10-26 14:31:15 +08:00
parent 3e1e4ea758
commit 151d901bb9
6 changed files with 39 additions and 7 deletions
+8
View File
@@ -1324,6 +1324,14 @@
"acceptance": "AGENTS.md「贡献新组件」章节补一张 10 行的落点表(每个落点写清具体动作与门禁原因),并说明改既有组件入参同样要走 manifest / docs 三步;npm run check 全绿",
"notes": "自补:Agent 文档完善;把本轮踩到的同步点固化成清单",
"status": "done"
},
{
"id": "g121",
"title": "textField 补 maxCount 字数统计",
"motivation": "textarea 早有 maxCount(原生上限 + 实时 n/limit),textField 却没有:昵称、标题、单行备注这类短字段同样需要限长,调用方只能自己拼计数节点贴在输入框外,样式与位置各写各的",
"acceptance": "TextFieldProps 新增 maxCount(缺省不渲染):传了即设原生 maxlength 拦截超限输入,输入框内侧附加组显示实时 n/上限(数字等宽不抖);与 clearable 共存时同组并排;文档参数表 / api 说明 / 手把手与 llms-full.txt 同步;npm run check 全绿",
"notes": "自补:输入类一致性;计数与清空共用后置附加组,零新增布局容器",
"status": "open"
}
]
}