Skip to content

Commit

Permalink
feat(PAGE-3194): Add label, buttonLabel & selectableObjectKey to mana…
Browse files Browse the repository at this point in the history
…geObjectValues. (#424)
  • Loading branch information
stefan-betty authored May 24, 2023
1 parent 7b1635e commit b5f3b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/validations/component.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,7 @@ test('Success when the reconfigure configuration options of the prefabs are vali
value: 'New property',
},
manageObjectValues: {
selectableObjectKey: true,
buttonLabel: 'Manage something',
label: 'something',
value: [
Expand Down
1 change: 1 addition & 0 deletions src/validations/prefab/componentOption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const optionConfigurationSchema = Joi.when('type', {
value: Joi.string().allow(''),
}),
manageObjectValues: Joi.object({
selectableObjectKey: Joi.boolean().optional(),
buttonLabel: Joi.string().optional(),
label: Joi.string().optional(),
value: Joi.array().items(Joi.object()),
Expand Down

0 comments on commit b5f3b6b

Please sign in to comment.