You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a fan of ant-design.As the usage scenarios in business projects gradually increase, I find the getFieldValue function are not quite smart.The getFieldValue function will return undefined when render component, even though we set an initialValue props in a FormItem component.
I don't know why it's set like this,is there a reason this case?
The text was updated successfully, but these errors were encountered:
panpan-ren
changed the title
why the getFieldValue return value is not initialValue
why the getFieldValue return value is not initialValue ?
Aug 18, 2022
I am a fan of ant-design.As the usage scenarios in business projects gradually increase, I find the
getFieldValue
function are not quite smart.ThegetFieldValue
function will return undefined when render component, even though we set aninitialValue
props in a FormItem component.I don't know why it's set like this,is there a reason this case?
Code example:
The text was updated successfully, but these errors were encountered: