diff --git a/resources/js/admin/script-executors/ScriptExecutors.vue b/resources/js/admin/script-executors/ScriptExecutors.vue index 63970dc86c..be1c0e61ae 100644 --- a/resources/js/admin/script-executors/ScriptExecutors.vue +++ b/resources/js/admin/script-executors/ScriptExecutors.vue @@ -358,6 +358,13 @@ export default { } }, watch: { + "formData.title"() { + this.$delete(this.errors, "title"); + }, + "formData.language"() { + this.$delete(this.errors, "title"); + this.$delete(this.errors, "language"); + }, commandOutput() { this.scrollToBottom(); }, @@ -470,6 +477,7 @@ export default { } }, save() { + this.errors = {}; this.resetProcessInfo(); this.status = "saving"; if (this.formData.id) { @@ -592,4 +600,4 @@ export default { .error { border-color: red !important; } - \ No newline at end of file +