From d9077d723e2eb0188df5bb9d8272a386e2e9b64c Mon Sep 17 00:00:00 2001 From: Eleazar Resendez Date: Thu, 22 Oct 2026 13:50:41 -0600 Subject: [PATCH] fix(script-executors): clear stale validation errors --- .../js/admin/script-executors/ScriptExecutors.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 +