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

Feature request: allow parents from more than 1 level in select dynamic cascade #39

Open
Giuse69 opened this issue Jan 20, 2018 · 0 comments

Comments

@Giuse69
Copy link

Giuse69 commented Jan 20, 2018

In every stage of a Select Dynamic Cascade, just one single value from previous field in the cascade can be used for the query ([parent]), while the query sometimes needs also previous parents.
Example:

  1. select a type of product from a product_types table
  2. select a brand that sells the type of products selected in stage1 (parent = type of product) from a product_brands table where each row is a brand and holds an array with types of products made by that brand
  3. select a product of the brand selected in stage 2 (parent = brand) AND of the type of products selected in stage 1 from a product tables with columns {id, name, product_type, brand}. PROBLEM: selected product type from step 1 is not accessible in the query since it is two steps before.

Proposal: transform [parent] from a single value to an array and in each step of the cascade current field adds its parent to the array. In this way in any step/field of the cascade it is possible to access selected choice in every other step.

@sebastienheraud sebastienheraud transferred this issue from Octopoos/SEBLOD Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants