Always use the front-end validation message
This commit is contained in:
parent
81f56dd881
commit
060833ea73
@ -69,8 +69,7 @@
|
|||||||
<input type='hidden' v-bind:value='rawValue' name='{{ field.name }}' />
|
<input type='hidden' v-bind:value='rawValue' name='{{ field.name }}' />
|
||||||
|
|
||||||
<template v-if='showError'>
|
<template v-if='showError'>
|
||||||
<span v-if='initialErrors' v-for='error in initialErrors' class='usa-input__message' v-html='error'></span>
|
<span class='usa-input__message' v-html='validationError'></span>
|
||||||
<span v-if='!initialErrors' class='usa-input__message' v-html='validationError'></span>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user