-
Notifications
You must be signed in to change notification settings - Fork 23
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 field doesn't hide the error message when it becomes valid #543
Comments
The ticket for |
It happens only for unthemed component apparently: web elements team states that error message hiding is implemented as a part of theme. But we should be aware of this behavior at least. |
I’m expecting the Elements team to fix this in the core styles (unthemed version) also, so that the error message is hidden. |
I think this can be closed here since it's confirmed issue in the |
On the other hand, it might also be good to keep this ticket open so that anyone that cares about this issue will know in which version version of the Flow integration they should update to? |
Might be, yes. |
I'm using <artifactId>vaadin-text-field-flow</artifactId>
<version>1.3.0</version> in combination with |
Closing in favor of #200 as both issues are now in the same repository. The unstyled components still behave the same. |
See the code below.
Steps to reproduce:
"no"
( which is invalid value).Expected: no error message is shown (the field by the way became valid since there is no
invalid
attribute).Reality: the error message is shown.
It happens because binder doesn't clear the error message when the
HasValidation
component component becomes valid.This is consequence of vaadin/flow#3439.
There has been a discussion about this and it has been agreed that this behavior is correct.
But apparently it's not.
As I understand the bug is in the
vaadin-text-field
component since the behavior has been guaranteed on the elements side.So this ticket is just to be able to track this on Flow side. Should be fixed on the
vaadin-text-field
side.The text was updated successfully, but these errors were encountered: