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

Text component's validation is not working #456

Open
ZhouAn0719 opened this issue Jun 15, 2022 · 1 comment
Open

Text component's validation is not working #456

ZhouAn0719 opened this issue Jun 15, 2022 · 1 comment
Assignees
Labels
bug Something isn't working hotfix

Comments

@ZhouAn0719
Copy link

Version
2022-06-15 17:00:00

Reproduction link

Steps to reproduce

  1. open the modal which contains the text component, everything is just fine.
    image

  2. close the modal and open it again.
    image

What is expected?

What is actually happening?
The problem seems to have something to do with modal's behavior 'Destroy On Hide':
image
validation works fine if 'Destroy On Hide' is set to false.

@tanbowensg
Copy link
Collaborator

Good issue!
It is truely confusing. The behaviors are diffrent after reopen modal. We should make sure the behaviors are the same --either showing error text on first render, or not showing them.

@tanbowensg tanbowensg added bug Something isn't working hotfix labels Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hotfix
Projects
None yet
Development

No branches or pull requests

3 participants