fix error rendering
This commit is contained in:
parent
e2821bc676
commit
c261c445d6
@ -55,8 +55,8 @@
|
||||
<input type='hidden' v-bind:value='rawValue' name='{{ field.name }}' />
|
||||
|
||||
<template v-if='showError'>
|
||||
<span v-for='error in initialErrors' class='usa-input__message' v-html='error'></span>
|
||||
<span v-if='!initialErrors.length' class='usa-input__message' v-html='validationError'></span>
|
||||
<span v-if='initialErrors' v-for='error in initialErrors' class='usa-input__message' v-html='error'></span>
|
||||
<span v-if='!initialErrors' class='usa-input__message' v-html='validationError'></span>
|
||||
</template>
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user