Add front end validation error messages

This commit is contained in:
Andrew Croce
2018-08-10 09:18:09 -04:00
parent db1dd062ee
commit 8659132989
3 changed files with 24 additions and 4 deletions

View File

@@ -56,6 +56,7 @@
<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>
</template>
</div>