mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Add reset workaround to prevent issues when showing different error messages in same validator
This commit is contained in:
parent
a19e69a1a2
commit
491d3b0e5b
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ public class InputTextField extends JFXTextField {
|
||||||
if (newValue.isValid) {
|
if (newValue.isValid) {
|
||||||
resetValidation();
|
resetValidation();
|
||||||
} else {
|
} else {
|
||||||
|
resetValidation();
|
||||||
|
validate();
|
||||||
|
|
||||||
jfxValidationWrapper.applyErrorMessage(newValue);
|
jfxValidationWrapper.applyErrorMessage(newValue);
|
||||||
}
|
}
|
||||||
validate();
|
validate();
|
||||||
|
|
Loading…
Add table
Reference in a new issue