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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
小伙伴们大家好, 今天尝试了一下ProDescriptions editable 可编辑模式.有一些疑问.
先说一下需求, 传入一些初始化数据,部分仅展示,部分展示且可编辑,然后提交编辑后的数据到后端.
Form.useForm
生成引用传入editable.但是编辑保存完成后,通过form.getFieldsValue()
获取的值是空. 当某个项处于编辑状态是调用form.getFieldsValue()
能获取当前正在编辑项的值. 这个是正常表现吗?如果是正常表现,那如何才能一次获取所有表单项值.示例
Beta Was this translation helpful? Give feedback.
All reactions