Skip to content

Feature: Conditional Inputs #3373

@ShadowJonathan

Description

@ShadowJonathan

Related to

Web-Frontend (what users interact with)

Impact

major improvement to user experience

Missing Feature

The option to hide or show inputs conditionally by other inputs.

Example:

For a task template called "Create Virtual Machine", have a top-level enum input called "Size", with (besides the other options,) "custom", which then shows multiple integer inputs "vCPUs", "GB RAM", "GB Disk"

Implementation

Possibly tie this together with grouping, and have the group define an input and wanted input by which the group will become visible or invisible.

Or the other way: In the input that controls the group, have it select group(s) that it enables/disables with its input.

Design

This would be purely a frontend cosmetic change; all hidden variables will not be passed to the backend, and conditionals will be defined as "if-else" statements in the javascript code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions