Skip to content

Commit

Permalink
Merge pull request #9273 from putmanoj/terraform-template-new-dialog
Browse files Browse the repository at this point in the history
Add option to create new dialog for terraform template in service catalog item
  • Loading branch information
agrare committed Oct 22, 2024
2 parents 02541a8 + e9a6a69 commit 3b87499
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,23 @@ const provisionTabSchema = (
keyLabel: __('Variable'),
valueLabel: __('Default value'),
},
{
component: componentTypes.RADIO,
id: 'config_info.provision.dialog_type',
name: 'config_info.provision.dialog_type',
label: __('Dialog'),
options: [{ value: 'useExisting', label: __('Use Existing') }, { value: 'createNew', label: __('Create New') }],
},
{
component: componentTypes.SELECT,
id: 'config_info.provision.dialog_id',
name: 'config_info.provision.dialog_id',
label: __('Existing Dialog'),
options: transformGeneralOptions(dialogs),
condition: {
when: 'config_info.provision.dialog_type',
is: 'useExisting',
},
includeEmpty: true,
isRequired: true,
validate: [{ type: validatorTypes.REQUIRED }],
Expand Down

0 comments on commit 3b87499

Please sign in to comment.