Repository navigation
Conversation
|
@dvd233 is attempting to deploy a commit to the Faberon Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1732.
选中分组选项后将字段切换为只读,Html 仅查找顶层 options,读取缺失的
item.label会使表单崩溃。现在先展开一层分组选项,让单值和多值都能找到叶子的 label;未匹配项安全省略,全部未匹配仍显示-,不新增自由输入 tag 的原文 HTML 展示。新增 13 个回归用例,包含真实 FormRender 字段
readOnly来回切换,以及分组、扁平、未知值、顺序和数字/字符串严格匹配。验证环境:Windows,Node 22.23.2,React 18.3.1,antd 5.29.3,仓库原有 Vitest 0.25.8。
yarn test packages/form-render/__tests__/html.spec.tsx --threads=false:13/13 通过;原始 Html 为 8 失败、5 通过。yarn test --threads=false:仍有 11 个测试失败、3 个套件加载错误(旧路径、缺失matchMedia、不存在的isObj)。用原始 Html 复跑时同样存在,本次没有新增失败。yarn build --concurrency=1 --force及yarn workspace form-render build被现有工具链的less version 4.1.3 is not currently supported阻塞;原始 Html 的全量构建也出现相同错误。未修改依赖或构建配置。