Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDKCLI-42] Feature dependsOn value. #68

Open
yoannfleurydev opened this issue May 28, 2020 · 1 comment
Open

[SDKCLI-42] Feature dependsOn value. #68

yoannfleurydev opened this issue May 28, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request minor Increment the minor version when merged scope:cli Issue for the Command Line Interface scope:webapp Issue for the development User Interface

Comments

@yoannfleurydev
Copy link
Contributor

yoannfleurydev commented May 28, 2020

At the moment, the dependsOn key on a feature only requires a field to be filled. But what if the feature could appear on a given value?

Take a Select for example, with options Option 1 and Option 2.

    - type: SELECT
      name: dataset
      label: Dataset
      required: true
      options:
        - id: opt1
          value: Option 1
        - id: opt2
          value: Option 2
    - type: TEXT
      name: username
      label: Username
      dependsOn:
        - dataset.opt1
    - type: TEXT
      name: login
      label: Login
      dependsOn:
        - dataset.opt2

Here, the username input should appear only when opt1 Option 1 is selected and login when opt2 Option 2 is selected.

@yoannfleurydev yoannfleurydev added enhancement New feature or request scope:webapp Issue for the development User Interface scope:cli Issue for the Command Line Interface minor Increment the minor version when merged labels May 28, 2020
@github-actions github-actions bot changed the title Feature dependsOn value. [SDKCLI-42] Feature dependsOn value. May 28, 2020
@github-actions
Copy link

👍 JIRA Issue created : [SDKCLI-42]

@Tetragramato Tetragramato self-assigned this Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Increment the minor version when merged scope:cli Issue for the Command Line Interface scope:webapp Issue for the development User Interface
Projects
None yet
Development

No branches or pull requests

2 participants