summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/src')
-rw-r--r--apps/workflowengine/src/components/Check.vue1
-rw-r--r--apps/workflowengine/src/components/Rule.vue2
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/workflowengine/src/components/Check.vue b/apps/workflowengine/src/components/Check.vue
index c15907852e8..cfd0f034adf 100644
--- a/apps/workflowengine/src/components/Check.vue
+++ b/apps/workflowengine/src/components/Check.vue
@@ -121,6 +121,7 @@ export default {
this.deleteVisible = false
},
validate() {
+ this.valid = true
if (this.currentOption && this.currentOption.validate) {
this.valid = !!this.currentOption.validate(this.check)
}
diff --git a/apps/workflowengine/src/components/Rule.vue b/apps/workflowengine/src/components/Rule.vue
index 7796180be6f..c6e23a8f180 100644
--- a/apps/workflowengine/src/components/Rule.vue
+++ b/apps/workflowengine/src/components/Rule.vue
@@ -19,7 +19,7 @@
type="button"
class="check--add"
value="Add a new filter"
- @click="rule.checks.push({class: null, operator: null, value: null})">
+ @click="rule.checks.push({class: null, operator: null, value: ''})">
</p>
</div>
<div class="flow-icon icon-confirm" />