Skip to content

Commit

Permalink
fix(program): fix validationStrategy dropdown (#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo authored Jan 24, 2022
1 parent bf77ffa commit 6065468
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/config/field-overrides/eventProgramStage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ export default new Map([
'validationStrategy',
{
required: true,
fieldOptions: {
value: 'ON_UPDATE_AND_INSERT'
}
},
],
[
Expand Down
2 changes: 1 addition & 1 deletion src/config/field-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export default new Map([
},
]],
['eventProgramStage', [
createDefaultRuleForField('validationStrategy', "ON_COMPLETE"),
createDefaultRuleForField('validationStrategy', "ON_UPDATE_AND_INSERT"),
]],
['programIndicator', [{
field: 'analyticsPeriodBoundaries',
Expand Down

0 comments on commit 6065468

Please sign in to comment.