Disable attachmentInput when file is attached (with tests this time)

This commit is contained in:
richard-dds
2019-08-30 11:30:22 -04:00
parent c5284fd8f9
commit 83ca303e1f
3 changed files with 39 additions and 1 deletions

View File

@@ -81,6 +81,8 @@ export default {
this.attachment = e.target.value
this.$refs.attachmentFilename.value = file.name
this.$refs.attachmentObjectName.value = response.objectName
this.$refs.attachmentInput.disabled = true
this.downloadLink = await this.getDownloadLink(
file.name,
response.objectName