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

Filtering with cascade dropdown association (grandparent, parent) #2934

Closed
newfylox opened this issue Sep 26, 2017 · 0 comments
Closed

Filtering with cascade dropdown association (grandparent, parent) #2934

newfylox opened this issue Sep 26, 2017 · 0 comments
Milestone

Comments

@newfylox
Copy link

Hi, I was wondering if it's possible to filter a model list (in the ListView) using cascade dropdowns grandparent associations (like we do with continent, country, states, city, etc.)

eg.

GrandGrandParent has_many GrandParent

GrandParent belongs_to GrandGrandParent
GrandParent has_many Parent

Parent belongs_to GrandParent
Parent has_many Child

Child belongs_to Parent

So I want to filter child by choosing a GrandGrandParent (or at least the GrandParent), and then choosing the parent, etc. and by choosing a GrandParent, the parent dropdown is filtered by the association of the choosen GrandParent.

Thanks

@mshibuya mshibuya added this to the 3.2.0 milestone Dec 8, 2024
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