fix: add base selector input in managed app modal

This commit is contained in:
Ramesh Mane
2026-01-22 10:31:54 +00:00
parent 9da65a6167
commit ea71cdc6a4

View File

@@ -87,6 +87,38 @@ const { formState, isLoading, submit } = useProvideFormBuilderHelper({
placeholder: "Describe your application's capabilities",
category: FORM_BUILDER_NON_CATEGORIZED,
},
{
type: FormBuilderInputType.Select,
label: 'Start from',
span: 12,
model: 'startFrom',
category: FORM_BUILDER_NON_CATEGORIZED,
options: [
{ label: 'New', value: 'new', icon: 'plus' },
{ label: 'Existing Base', value: 'existing', icon: 'copy' },
],
defaultValue: 'new',
},
{
type: FormBuilderInputType.Space,
span: 12,
category: FORM_BUILDER_NON_CATEGORIZED,
condition: {
model: 'startFrom',
equal: 'new',
},
},
{
type: FormBuilderInputType.SelectBase,
label: 'Select base',
span: 12,
model: 'baseId',
category: FORM_BUILDER_NON_CATEGORIZED,
condition: {
model: 'startFrom',
equal: 'existing',
},
},
{
type: FormBuilderInputType.Input,
label: t('labels.sandboxCategory'),