Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

204
Views
Dropdown control on Backstage scaffolder (or radio buttons)

I'm creating a template in the Backstage scaffolder and I need a way to present to the user an option selection UI, it can be a dropdown select or a group of radio buttons, something like that:

Name of your project ______
Include foo [ ]
CSS Processor |v|
 - None
 - SASS
 - Stylus

I couldn't find how to do the select part. The only dropdown that exists in the documentation is the Repository Picker, but it is a custom control, besides that, I could only find examples for type: string and type: boolean. Actually, there's something about type: array, but the example seems incomplete (or this type is not intended for what I'm looking for)

Is it possible to do without a custom component?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Ultimately I've managed to solve this by doing

  parameters:
    - title: My scaffolder
      properties:
        ...
        includeRequester:
          title: Include an API requester?
          type: string
          description: Should this module include an API requester? (REST or GraphQL)
          default: none
          enum:
            - none
            - rest
            - graphql

However, I couldn't figure out how to define labels for the options. Ideally, I had in mind something like

none: Don't include a requester
rest: Include a REST requester
graphql: Include a GraphQL requester

but it's OK, despite not having labels, it's working as expected.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!