CrossplatForms icon indicating copy to clipboard operation
CrossplatForms copied to clipboard

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

Open spikehidden opened this issue 1 year ago • 0 comments

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 avatar Nov 21 '22 23:11 spikehidden