Update name of prop used to control validation

This commit is contained in:
graham-dds 2019-09-12 15:24:40 -04:00
parent 5d3aa41431
commit ebe8adac21

View File

@ -23,7 +23,7 @@
validation="clinDollars" validation="clinDollars"
:watch='true'> :watch='true'>
<div v-bind:class="['usa-input usa-input--validation--dollars', { 'usa-input--error': showError, 'usa-input--success': showValid}]"> <div v-bind:class="['usa-input usa-input--validation--dollars', { 'usa-input--error': showFundingError, 'usa-input--success': showFundingValid}]">
{% if field %} {% if field %}
<label for='{{ field.name }}'> <label for='{{ field.name }}'>
{% else %} {% else %}
@ -35,8 +35,8 @@
{% else %} {% else %}
<div class="usa-input__title">{{ 'task_orders.form.total_funds_label' | translate }}</div> <div class="usa-input__title">{{ 'task_orders.form.total_funds_label' | translate }}</div>
{% endif %} {% endif %}
<span v-show='showError'>{{ Icon('alert',classes="icon-validation") }}</span> <span v-show='showFundingError'>{{ Icon('alert',classes="icon-validation") }}</span>
<span v-show='showValid'>{{ Icon('ok',classes="icon-validation") }}</span> <span v-show='showFundingValid'>{{ Icon('ok',classes="icon-validation") }}</span>
</label> </label>
<masked-input <masked-input