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 item control's inner state validateStatus always be validating while no rules received. #2675

Closed
1 task done
rogerleung0411 opened this issue May 10, 2024 · 1 comment · Fixed by #2676
Closed
1 task done

Comments

@rogerleung0411
Copy link
Contributor

Basic Info

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

What is expected?

gotoValidatingStatus();
this line should be deleted.

Steps to reproduce

  1. create a form, with only 1 form item is ok.
  2. do not pass any rule to this form item.
  3. then trigger form submit, validateStatus set to validating, and will not reset to normal status anymore.
@rogerleung0411
Copy link
Contributor Author

i've create a pull request above, please review @yinkaihui

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

Successfully merging a pull request may close this issue.

1 participant