Skip to content

fix: do not change the fieldsMeta when getFieldMeta#139

Open
JundongHuangScau wants to merge 1 commit intoreact-component:masterfrom
JundongHuangScau:fix/getFieldMeta-try-to-register-new-key
Open

fix: do not change the fieldsMeta when getFieldMeta#139
JundongHuangScau wants to merge 1 commit intoreact-component:masterfrom
JundongHuangScau:fix/getFieldMeta-try-to-register-new-key

Conversation

@JundongHuangScau
Copy link

when we try to use getFieldValue(key) to get the value ,it will call the getFieldMeta to get the value, then the new key will be storage which will cause the error(BG: a and a.b cannot be use in the same form) when the key`s is a nested value.

@benjycui
Copy link
Member

benjycui commented Feb 8, 2018

Why? If this code affect your use case, please provide a demo.

Please provide a re-producible demo: http://codepen.io/benjycui/pen/NdQdBw?editors=0011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants