-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
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
[Field] 开启parseName 后 setValues 无法对深层次数据赋值 #497
Comments
我已经想到一种解决方法,但是感觉比较hack。 setValues 的时候先把数据缓存下来,等真正init的时候再去处理赋值,getValues 的时候跟着缓存数据去做merge 。 |
原因:因为开启了parseName 我就认为setValues 里面的 key 是结构化的,这种情况下 dialog里面的form其实还没有初始化出来,所以无法判断真实的key是啥,就赋值不了了。
|
https://riddle.alibaba-inc.com/riddles/f0979d0f when parseName is true, users can't set default value, too. |
The design of the (2) Add a function that parses |
there will be a lot of keys not used. and when people use
=>
if values have a object type
and people want in my think. when people pass |
fixed in PR: #683 |
related: https://codepen.io/anon/pen/pYbVrE#anon-login
The text was updated successfully, but these errors were encountered: