Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] FormTab not render inactive tab #4116

Open
1 task
skyfore opened this issue Mar 21, 2024 · 2 comments
Open
1 task

[Bug Report] FormTab not render inactive tab #4116

skyfore opened this issue Mar 21, 2024 · 2 comments

Comments

@skyfore
Copy link
Contributor

skyfore commented Mar 21, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. input value in A1
  2. click submit

给 A1 的输入框输入值,然后点击提交

What is expected?

validate fail

校验失败,因为 A2、A3 中还有必填项

What is actually happening?

validate success

提交通过了

Package

@formily/antd-v5@2.3.1


Mar-21-2024 17-30-28

@skyfore
Copy link
Contributor Author

skyfore commented Mar 21, 2024

看了下源码,应该是 antd 的 items 假如当前不是 active 的不会渲染,导致注册组件行为没有执行,formily 字段模型中没有,所以就没有办法进行数据交互

@269378737
Copy link

formily现在还在维护么?感觉社区不是很活跃了,很多issue都没人回复,disscussions也没多少回答。

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

No branches or pull requests

2 participants