Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Add a "contains" operator to the conditional input (config.json file) #858

Closed
1 task done
GuillaumeFalourd opened this issue Feb 12, 2021 · 0 comments · Fixed by #874
Closed
1 task done

Add a "contains" operator to the conditional input (config.json file) #858

GuillaumeFalourd opened this issue Feb 12, 2021 · 0 comments · Fixed by #874
Assignees
Labels
📚 documentation Improvements or additions to documentation 🔨 improvement Improvement in features ✔️ refined ISSUE refined by the Ritchie Team
Milestone

Comments

@GuillaumeFalourd
Copy link
Contributor

GuillaumeFalourd commented Feb 12, 2021

What would you like to be added:

  • Add a "contains" operator to the conditional input on config.json file. Today, are supported ==, !=, <, >, <=, and >=. As explained in the documentation.

Why is this needed:

  • Today, if you want to show new inputs with the conditional type, based on a multiselect type input, you have to implement it through prompt (using split for the multiselect variable) inside the formula implementation.

Example:

With themultiselect variable=value1|value2|value3|value4

This implementation would allow to return a specific list of inputs with the conditional input if a user select value1 or value3 inside the multiselect variable.

  • Check this box if this issue needs a documentation update
@GuillaumeFalourd GuillaumeFalourd added 📚 documentation Improvements or additions to documentation ✨ feature Suggest a new feature or enhancement to the Ritchie project 🔨 improvement Improvement in features labels Feb 12, 2021
@henriquemoraeszup henriquemoraeszup removed the ✨ feature Suggest a new feature or enhancement to the Ritchie project label Feb 18, 2021
@henriquemoraeszup henriquemoraeszup added the ✔️ refined ISSUE refined by the Ritchie Team label Feb 22, 2021
@kaduartur kaduartur added this to the 2.10.2 milestone Mar 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📚 documentation Improvements or additions to documentation 🔨 improvement Improvement in features ✔️ refined ISSUE refined by the Ritchie Team
Projects
None yet
4 participants