<p>As user types into a validated text field,<br>
if the new string is still invalid but the error message changed,<br>
ensure the new message will be displayed.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #5005.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="774779614" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/5005" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/5005/hovercard" href="https://github.com/bisq-network/bisq/issues/5005">#5005</a></p>
<h3>Before</h3>
<p>Below are the states of a field as the value <code>0.0011</code> is being entered, and then cleared again.</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/16313562/103141536-d33f3980-46f5-11eb-8cce-3071b31b11c9.png"><img src="https://user-images.githubusercontent.com/16313562/103141536-d33f3980-46f5-11eb-8cce-3071b31b11c9.png" alt="instant-error-message-update BEFORE" style="max-width:100%;"></a></p>
<h3>After</h3>
<p>Now, the error message indicates the error condition every step of the way.</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/16313562/103141537-d9351a80-46f5-11eb-8804-2117e1342ef7.png"><img src="https://user-images.githubusercontent.com/16313562/103141537-d9351a80-46f5-11eb-8804-2117e1342ef7.png" alt="instant-error-message-update AFTER" style="max-width:100%;"></a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/5006'>https://github.com/bisq-network/bisq/pull/5006</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Display up-to-date error messages under text fields</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5006/files#diff-1af0ea64cd7469eee6de8de085a70afed700d98e45cf960815b730e9728a9f58">core/src/main/java/bisq/core/util/validation/InputValidator.java</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5006/files#diff-22abfad386f6fa6c9ef478fa6f452460dac8b178f004ae2b4ac4c5c52a1094f9">desktop/src/main/java/bisq/desktop/components/InputTextField.java</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/5006.patch'>https://github.com/bisq-network/bisq/pull/5006.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/5006.diff'>https://github.com/bisq-network/bisq/pull/5006.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/5006">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSMKSRHRNKLSRZQIQTSWTXPVANCNFSM4VJLBCIA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNVFEPVJSPMPOFD4VI3SWTXPVA5CNFSM4VJLBCIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LROG2XQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/5006",
"url": "https://github.com/bisq-network/bisq/pull/5006",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>