diff --git a/templates/components/text_input.html b/templates/components/text_input.html index 99d8be4d..9447f9b6 100644 --- a/templates/components/text_input.html +++ b/templates/components/text_input.html @@ -43,11 +43,11 @@ v-bind:mask='mask' v-bind:pipe='pipe' v-bind:keep-char-positions='keepCharPositions' + v-bind:aria-invalid='showError' id='{{ field.name }}' type='text' ref='input' - placeholder='{{ placeholder }}' - {% if field.errors %}aria-invalid='true'{% endif %}> + placeholder='{{ placeholder }}'> {% endif %}