Open yiescc opened 2 years ago
我也遇到 不过感觉是跟动态有关
<Form field={field}>
<InputField name={'list[0].name'} style={{ display: 'none' }} />
{list.map((item, itemIdx) => (
<InputField name={`list[${itemIdx}].name`} key={item.id} />
))}
<Form.Submit onClick={console.log}>提交</Form.Submit>
</Form>
这样是可以生效的,如果我删除就不行
<InputField name={'list[0].name'} style={{ display: 'none' }} />
⌨️
Where is the bug from?
Fusion Mobile
Minimal code and steps to reproduce the bug
Current and expected behavior
Environment
最新
build.json
No response
Possible solution
No response
Additional context
No response