From d55379e346903999670fa5fef51df7dc671547d2 Mon Sep 17 00:00:00 2001 From: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:58:59 +0530 Subject: [PATCH] Add rule button click - show alert (#554) --- .../forms/components/form-logic-components/GroupControlSlot.vue | 2 ++ 1 file changed, 2 insertions(+) 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 60c62af4..a7c25d22 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.') } }, },