Merge pull request #14702 from alexrybch/scaffolder-ui-options
initial support of ui options in scaffolder forms
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Backend now returns 'ui:options' value from template metadata, it can be used by all your custom scaffolder components.
|
||||
@@ -271,6 +271,7 @@ export async function createRouter(
|
||||
res.json({
|
||||
title: template.metadata.title ?? template.metadata.name,
|
||||
description: template.metadata.description,
|
||||
'ui:options': template.metadata['ui:options'],
|
||||
steps: parameters.map(schema => ({
|
||||
title: schema.title ?? 'Please enter the following information',
|
||||
description: schema.description,
|
||||
|
||||
Reference in New Issue
Block a user