From 60654683b17c3f704a273b41dd47f19b1e7253d2 Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Mon, 24 Jan 2022 17:23:55 +0100 Subject: [PATCH] fix(program): fix validationStrategy dropdown (#2117) --- src/config/field-overrides/eventProgramStage.js | 3 --- src/config/field-rules.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/config/field-overrides/eventProgramStage.js b/src/config/field-overrides/eventProgramStage.js index 1637e4d97..a499892bb 100644 --- a/src/config/field-overrides/eventProgramStage.js +++ b/src/config/field-overrides/eventProgramStage.js @@ -5,9 +5,6 @@ export default new Map([ 'validationStrategy', { required: true, - fieldOptions: { - value: 'ON_UPDATE_AND_INSERT' - } }, ], [ diff --git a/src/config/field-rules.js b/src/config/field-rules.js index c42c03f8d..b22a92aff 100644 --- a/src/config/field-rules.js +++ b/src/config/field-rules.js @@ -530,7 +530,7 @@ export default new Map([ }, ]], ['eventProgramStage', [ - createDefaultRuleForField('validationStrategy', "ON_COMPLETE"), + createDefaultRuleForField('validationStrategy', "ON_UPDATE_AND_INSERT"), ]], ['programIndicator', [{ field: 'analyticsPeriodBoundaries',