jquery_chained icon indicating copy to clipboard operation
jquery_chained copied to clipboard

Chaining to multiple parents?

Open jinch opened this issue 4 years ago • 0 comments

Hello, I'm trying to get multiple selects to work together but running into some issues. Using your example I understand how to link 2 selects using A+B to show in the last select C. However I'm confused why I can't access the last select by just using the value of the second select ~ like so ~ data-chained="A+B B". What is strange is that you can do this easily with just the first select value ~ like so ~ data-chained="A+B A" *WORKS.

Here is a quick codepen to demonstrate: https://codepen.io/jinch/pen/vYLpLKZ

Ideally it would be great if all three scenarios to work ~ like so: data-chained="A+B A B". I have allot of options and I dont want to have to repeat each combination of the 1st+2nd if possible.

jinch avatar Jul 02 '20 12:07 jinch