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

Form should not validate hidden form item #2679

Open
1 task
zoo7314 opened this issue May 12, 2024 · 0 comments
Open
1 task

Form should not validate hidden form item #2679

zoo7314 opened this issue May 12, 2024 · 0 comments

Comments

@zoo7314
Copy link

zoo7314 commented May 12, 2024

Basic Info

  • Package Name And Version: @arco-design/web-react@2.62.0
  • Browser: chrome124.0.0.0

What is expected?

hidden form item skips validation.

Steps to reproduce

  1. set a form item with rule={[{required: true]} to hidden={true}, and leave it empty.
  2. form.validate().
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

1 participant