Remove some leftover 'watch' attributes from Vue components

This commit is contained in:
leigh-mil
2019-11-22 09:22:47 -05:00
parent c2975fff69
commit 62cdcbe6dc
7 changed files with 10 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
{% from 'components/icon.html' import Icon %}
{% macro CLINDollarAmount(type, field=None, funding_validation=False) -%}
{% macro CLINDollarAmount(type, field=None, funding_validation=False) -%}
<div class="form-row">
<div class="form-col">
<clindollaramount
@@ -21,16 +21,15 @@
:key="'clins-' + clinIndex + '-' + '{{ type }}' + '_amount'"
{% endif %}
validation="clinDollars"
:watch='true'>
validation="clinDollars">
<div v-bind:class="['usa-input usa-input--validation--dollars', { 'usa-input--error': showFundingError, 'usa-input--success': showFundingValid}]">
{% if field %}
<label for='{{ field.name }}'>
<label for='{{ field.name }}'>
{% else %}
<label :for='name'>
{% endif %}
{% if type=="obligated" %}
{% if type=="obligated" %}
<div class="usa-input__title">{{ 'task_orders.form.obligated_funds_label' | translate }}</div>
{% else %}
<div class="usa-input__title">{{ 'task_orders.form.total_funds_label' | translate }}</div>
@@ -67,4 +66,4 @@
</clindollaramount>
</div>
</div>
{%- endmacro %}
{%- endmacro %}