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

Add the possibility to use "should-show" for dropdown options. #132

Open
spikehidden opened this issue Nov 21, 2022 · 0 comments
Open

Add the possibility to use "should-show" for dropdown options. #132

spikehidden opened this issue Nov 21, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers priority: moderate

Comments

@spikehidden
Copy link

spikehidden commented Nov 21, 2022

What feature do you want to see added?

Add the possibility to use should-show for dropdown components in custom forms.

Ex.:

form:
  type: custom_form
  title: "title"
  components:
    - type: dropdown
      text: "label"
      default: 0
      options:
      - "option 0"
        should-show:
        - "%placeholder_0%"
      - "option 1"
        should-show:
        - "%placeholder_1%"
      - "option 2"
        should-show:
        - "%placeholder_2%"

Are there any alternatives?

Besides creating an extra form for each option or adding a notice as a lable of what options a user can use? - None.

And those alternatives are also not really good solutions.

@spikehidden spikehidden changed the title Add the possibility to use "should-show" for dropbox options. Add the possibility to use "should-show" for dropdown options. Nov 22, 2022
@Konicai Konicai added enhancement New feature or request priority: moderate labels Dec 14, 2022
@Konicai Konicai added the good first issue Good for newcomers label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers priority: moderate
Projects
None yet
Development

No branches or pull requests

2 participants