chore(backlog): 记录 g296 完成

This commit is contained in:
HIsheR
2026-10-26 23:37:21 +08:00
parent 2c0a760f18
commit 308a7ee940
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -3054,11 +3054,11 @@
{
"id": "g296",
"domain": "tune",
"status": "open",
"status": "done",
"title": "修 form 校验失败仍提交:自绘控件字段没有原生 input 时守卫失效",
"motivation": "提交守卫写成「找到焦点目标才中止」,而焦点目标只查 input/textarea/select;非搜索式下拉、评分、开关容器里没有原生 input,firstBad 为 null 时校验有错也照样调 onSubmit(demo 的「城市」必填下拉即可复现)。",
"acceptance": "① 中止判据改为错误条数 bad > 0;② 焦点落点按 控件 → 触发器(button/[tabindex]) → 字段容器(tabIndex=-1) 三级退让;③ manifest 的 form 步骤与 demo 描述同步说明;④ npm run check 全绿。",
"notes": ""
"notes": "form 提交守卫改判错误条数;焦点按 控件 → 触发器 → 字段容器(tabIndex=-1) 三级退让,自绘控件字段也能被定位并拦住提交"
}
]
}