Skip to content

Beautiful Open-Source Form Builder

Add rule button click - show alert (#554)

Chirag Chhatralad55379e34690
diff --git a/client/components/open/forms/components/form-logic-components/GroupControlSlot.vue b/client/components/open/forms/components/form-logic-components/GroupControlSlot.vue
index 60c62af4b..a7c25d224 100644
--- a/client/components/open/forms/components/form-logic-components/GroupControlSlot.vue
+++ b/client/components/open/forms/components/form-logic-components/GroupControlSlot.vue
@@ -48,6 +48,8 @@ export default {
this.groupCtrl.addRule(this.selectedRule)
this.$refs.ruleSelect.content = null
this.selectedRule = null
+ } else {
+ useAlert().error('Please select a field to add condition on.')
}
},
},