You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the class "RangeValidator", there is a static class variable called "mErrorMessage".
It shouldn't be static as if you have multiple "RangeValidator", it will only keep the last value.
In my case i had 3 RangeValidator and the same message was displayed three times. Removing "static" modifier fix the issue.
Actually, i'm also wondering why "getMessage" is overrided in "RangeValidator" while it is not in others validators. :)
Regards,
Clément.
The text was updated successfully, but these errors were encountered:
Hi,
In the class "RangeValidator", there is a static class variable called "mErrorMessage".
It shouldn't be static as if you have multiple "RangeValidator", it will only keep the last value.
In my case i had 3 RangeValidator and the same message was displayed three times. Removing "static" modifier fix the issue.
Actually, i'm also wondering why "getMessage" is overrided in "RangeValidator" while it is not in others validators. :)
Regards,
Clément.
The text was updated successfully, but these errors were encountered: