[bisq-network/bisq] Display up-to-date error messages under text fields (#5006)

Jakub Loucký notifications at github.com
Fri Dec 25 21:18:02 CET 2020


As user types into a validated text field,
if the new string is still invalid but the error message changed,
ensure the new message will be displayed.

Fixes #5005


### Before
Below are the states of a field as the value `0.0011` is being entered, and then cleared again.

![instant-error-message-update BEFORE](https://user-images.githubusercontent.com/16313562/103141536-d33f3980-46f5-11eb-8cce-3071b31b11c9.png)

### After
Now, the error message indicates the error condition every step of the way.

![instant-error-message-update AFTER](https://user-images.githubusercontent.com/16313562/103141537-d9351a80-46f5-11eb-8804-2117e1342ef7.png)


You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5006

-- Commit Summary --

  * Display up-to-date error messages under text fields

-- File Changes --

    M core/src/main/java/bisq/core/util/validation/InputValidator.java (7)
    M desktop/src/main/java/bisq/desktop/components/InputTextField.java (3)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5006.patch
https://github.com/bisq-network/bisq/pull/5006.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201225/c90f8748/attachment.htm>


More information about the bisq-github mailing list