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

Error indicator lost when focusing and defocusing invalid required field #539

Closed
macprzepiora opened this issue Jun 11, 2018 · 5 comments
Closed
Labels
bug Something isn't working Components flow
Projects

Comments

@macprzepiora
Copy link

To reproduce:

  1. Create a text field that is required and has validation (see https://gist.github.com/macprzepiora/665597644c9e7b39c2746872a579f149 for a complete example showing the issue)
  2. Run the app
  3. Enter invalid value into the text field
  4. Defocus the field
  5. Focus again
  6. Defocus the field again

Observed result: Error indicator disappears

Expected result: Error indicator is still shown

@macprzepiora
Copy link
Author

Also, the issue is not present when the field is not required

@Legioth
Copy link
Member

Legioth commented Jun 12, 2018

This (or something very similar) should have been fixed by vaadin/vaadin-text-field-flow#77. Please verify that you're using vaadin-text-field-flow 1.0.0.beta10 or newer?

@macprzepiora
Copy link
Author

I am using 1.0.0.rc1

@macprzepiora
Copy link
Author

macprzepiora commented Jul 16, 2018

As of 10.0.1, this is still reproducible. If you want me to, I can take a look into it and try to fix it

@vaadin-bot vaadin-bot added bug Something isn't working Components flow labels Oct 6, 2020
@vaadin-bot vaadin-bot transferred this issue from vaadin/vaadin-text-field-flow Oct 6, 2020
@tomivirkki
Copy link
Member

Closing. Seems to work on V14.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Components flow
Projects
No open projects
vaadin-core
  
📬  Inbox
Development

No branches or pull requests

4 participants