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
demo直接重现
form.values.input 保持空字符串
form.values.input 的值为"默认值"
@formily/[email protected]
1、input字段会有一个默认值,如schema所见 2、第一次表单编辑的时候,运营把默认值清掉,点了保存 3、所以重新编辑的时候,input字段就是空字符串了,但是这时formily用default值覆盖了原有的空字符串
请问这种场景怎么避免空字符串被覆盖?
The text was updated successfully, but these errors were encountered:
需求不合理,如果值为空,必然会走到默认值逻辑里去
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Reproduction link
Steps to reproduce
demo直接重现
What is expected?
form.values.input 保持空字符串
What is actually happening?
form.values.input 的值为"默认值"
Package
@formily/[email protected]
1、input字段会有一个默认值,如schema所见
2、第一次表单编辑的时候,运营把默认值清掉,点了保存
3、所以重新编辑的时候,input字段就是空字符串了,但是这时formily用default值覆盖了原有的空字符串
请问这种场景怎么避免空字符串被覆盖?
The text was updated successfully, but these errors were encountered: