We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当定义了自定义的validator 和 默认的 required之后,错误提示文案会出现 [errormessage1], , ,[errormessage2] 的非预期文案
错误提示文案应为 [errormessage1],[errormessage2]
源码上看,应该是这行 https://github.com/formilyjs/element-plus/blob/main/packages/components/src/form-item/index.ts#L524 中,已经为每个错误信息增加了分隔符
但是这行又join了 ', ' https://github.com/formilyjs/element-plus/blob/main/packages/components/src/form-item/index.ts#L537 ,就导致了 ['error1', ',' , 'error2'].join(', ') => error1, , , error2,辛苦看下是否是这个问题,是的话我提PR了
@formily/[email protected]
The text was updated successfully, but these errors were encountered:
这个库是没人维护了吗?
Sorry, something went wrong.
No branches or pull requests
Reproduction link
Steps to reproduce
当定义了自定义的validator 和 默认的 required之后,错误提示文案会出现 [errormessage1], , ,[errormessage2] 的非预期文案
What is expected?
错误提示文案应为 [errormessage1],[errormessage2]
What is actually happening?
源码上看,应该是这行 https://github.com/formilyjs/element-plus/blob/main/packages/components/src/form-item/index.ts#L524 中,已经为每个错误信息增加了分隔符
但是这行又join了 ', ' https://github.com/formilyjs/element-plus/blob/main/packages/components/src/form-item/index.ts#L537 ,就导致了 ['error1', ',' , 'error2'].join(', ') => error1, , , error2,辛苦看下是否是这个问题,是的话我提PR了
Package
@formily/[email protected]
The text was updated successfully, but these errors were encountered: