diff --git a/js/components/upload_input.js b/js/components/upload_input.js index 4a6a057f..c387e057 100644 --- a/js/components/upload_input.js +++ b/js/components/upload_input.js @@ -68,7 +68,6 @@ export default { const response = await this.uploader.upload(file, this.objectName) if (response.ok) { this.attachment = e.target.value - this.showErrors = false this.$refs.attachmentFilename.value = file.name this.$refs.attachmentObjectName.value = this.objectName } else { diff --git a/templates/components/upload_input.html b/templates/components/upload_input.html index f98a9f6a..b18e4e9f 100644 --- a/templates/components/upload_input.html +++ b/templates/components/upload_input.html @@ -44,10 +44,10 @@ {% for error, error_messages in field.errors.items() %} - {{error_messages[0]}}. + {{error_messages[0]}} {% endfor %}