diff --git a/src/components/Process/Workers/Configurations/Fields/ListField.vue b/src/components/Process/Workers/Configurations/Fields/ListField.vue index c4401577c13255eb257b7cd2bf7c25218be7b756..91d605a57b1c3d6a0846df2799e251e789ceddfc 100644 --- a/src/components/Process/Workers/Configurations/Fields/ListField.vue +++ b/src/components/Process/Workers/Configurations/Fields/ListField.vue @@ -119,8 +119,8 @@ export default defineComponent({ }, removeItem (i: number) { this.newList.splice(i, 1) - this.validatedList.splice(i, 1) - delete this.itemError[i] + this.validateFields() + this.itemError.splice(i, 1) }, updateItem (i: number, newValue: string | number | boolean) { if (this.newList[i] === newValue) return @@ -150,7 +150,7 @@ export default defineComponent({ watch: { cleanList: { handler (newValue) { - if (newValue.length) this.$emit('update:modelValue', newValue) + this.$emit('update:modelValue', newValue) } } }