Reset file input value after operations - fixed #1124

This commit is contained in:
Liyas Thomas
2020-08-27 13:56:55 +05:30
parent 240ae25a90
commit 62028d1273
4 changed files with 17 additions and 10 deletions

View File

@@ -354,6 +354,7 @@ export default {
icon: "attach_file",
})
}
this.$refs.collectionUpload.value = ""
},
getDoc() {

View File

@@ -484,12 +484,12 @@
})
"
>
<option value="query" :selected="param.type === 'query'">{{
$t("query")
}}</option>
<option value="path" :selected="param.type === 'path'">{{
$t("path")
}}</option>
<option value="query" :selected="param.type === 'query'">
{{ $t("query") }}
</option>
<option value="path" :selected="param.type === 'path'">
{{ $t("path") }}
</option>
</select>
</span>
</li>
@@ -2570,6 +2570,7 @@ export default {
icon: "attach_file",
})
}
this.$refs.attachment.value = ""
},
uploadPayload() {
this.rawInput = true
@@ -2588,6 +2589,7 @@ export default {
icon: "attach_file",
})
}
this.$refs.payload.value = ""
},
async handleAccessTokenRequest() {
if (this.oidcDiscoveryUrl === "" && (this.authUrl === "" || this.accessTokenUrl === "")) {