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
在 PR https://github.com/alibaba-fusion/field/pull/47/files#diff-bfe9874d239014961b1ae4e89875a6155667db834a410aaaa2ebe3cf89820556R206 里面,本来是要修复 #45 ,把 validate 的reRender 和 onChange 的reRender 合并了。
rule && this._validate(name, rule, trigger, false);
如果validate 立刻触发,那么onChange 在最后reRender 的时候就会把validate后的状态带出去;但是如果 validate 需要较长时间就会变成
复现demo见:https://riddle.alibaba-inc.com/riddles/dd8648b
The text was updated successfully, but these errors were encountered:
a400640
Merge pull request #52 from alibaba-fusion/fix-rerender-validate
b6e3517
fix: should reRender after validator callback at next tick. fix #51
No branches or pull requests
在 PR https://github.com/alibaba-fusion/field/pull/47/files#diff-bfe9874d239014961b1ae4e89875a6155667db834a410aaaa2ebe3cf89820556R206 里面,本来是要修复 #45 ,把 validate 的reRender 和 onChange 的reRender 合并了。
问题复现
如果validate 立刻触发,那么onChange 在最后reRender 的时候就会把validate后的状态带出去;但是如果 validate 需要较长时间就会变成
复现demo见:https://riddle.alibaba-inc.com/riddles/dd8648b
The text was updated successfully, but these errors were encountered: