Skip to content

Commit

Permalink
chore: change default value mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Hein Jeong committed Jul 22, 2022
1 parent 3634728 commit 6ebd118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ describe('getFormDefinitionInputElement', () => {
componentType: 'RadioGroupField',
props: { label: 'Label', name: 'MyFieldName' },
valueMappings: {
values: [{ value: { value: 'value' }, displayValue: { value: 'Label' } }],
values: [{ value: { value: 'Option' } }],
},
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const FORM_DEFINITION_DEFAULTS = {
defaultCountryCode: '+1',
value: 'true',
name: 'fieldName',
valueMappings: { values: [{ value: { value: 'value' }, displayValue: { value: 'Label' } }] },
valueMappings: { values: [{ value: { value: 'Option' } }] },
},
},

Expand Down

0 comments on commit 6ebd118

Please sign in to comment.