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
Validation not always fired #165
Comments
Can confirm, this is a bit troubling,
public void setText (String str) {
if (str == null) str = "";
if (str.equals(text)) return;
//...
}
|
Well, you could either always fire change events in your overridden |
Alright done, I added VisTextField property for controlling this. It should work now, no change is needed on your side. |
Except it's |
I can confirm that forms work as expected when this property is set to |
Yes it's |
Oh, I see, I haven't checked out the whole commit. Now that I think about it, that seems to be the correct approach. Thanks. |
There seems to be a bug with
VisValidatableTextField
and forms when "changing" its value to, well, the same value - form is not refreshed, so even if the data is currently valid, error message will still be displayed.Reproduction:
See example below. Text field now contains path to a valid directory and no longer has error border, yet error message is still displayed. Changing any field included in form fixes this issue, but the refresh should be automatic, not manual.

The text was updated successfully, but these errors were encountered: