Limit size of uploaded files

This commit is contained in:
richard-dds
2019-08-16 13:30:03 -04:00
parent 7f477ec034
commit db73a12e95
3 changed files with 22 additions and 5 deletions

View File

@@ -46,6 +46,9 @@
<template v-if="uploadError">
<span class="usa-input__message">{{ "forms.task_order.upload_error" | translate }}</span>
</template>
<template v-if="sizeError">
<span class="usa-input__message">{{ "forms.task_order.size_error" | translate }}</span>
</template>
{% for error, error_messages in field.errors.items() %}
<span class="usa-input__message">{{error_messages[0]}}</span>
{% endfor %}