Skip to content

unmount的表单项也会被校验,该如何避免呢? #1678

Discussion options

You must be logged in to vote

因为你不用ArrayField,所以你需要自己手动清除form.fields里的字段,自己在数字改变的时候清空不要的字段模型吧。
还有你这种写法,全是反模式,observable在渲染函数里调用,为啥不用useMemo缓存,observer为啥要在渲染函数里执行

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
4 replies
@specialCoder
Comment options

@janryWang
Comment options

@specialCoder
Comment options

@specialCoder
Comment options

This comment was marked as spam.

@specialCoder

This comment was marked as spam.

Comment options

You must be logged in to vote
4 replies
@specialCoder
Comment options

@janryWang
Comment options

@specialCoder
Comment options

@janryWang
Comment options

Answer selected by janryWang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants