Don't show success/error icon on disabled fields

This commit is contained in:
Patrick Smith 2019-01-08 18:21:11 -05:00
parent b61a331ce6
commit b3cdfd730d

View File

@ -37,8 +37,10 @@
<span class='usa-input__help'>{{ description | safe }}</span>
{% endif %}
{% if not disabled %}
<span v-show='showError'>{{ Icon('alert',classes="icon-validation") }}</span>
<span v-show='showValid'>{{ Icon('ok',classes="icon-validation") }}</span>
{% endif %}
</label>