markjs / jquery-dependent-selects

A jQuery plugin to allow multi-level select boxes that degrade gracefully.
http://markjs.github.com/jquery-dependent-selects/
MIT License
56 stars 23 forks source link

In a three level option, the last selection depends only on previous one not combined first and second #13

Open masch55 opened 11 years ago

masch55 commented 11 years ago

When three select levels are used, the third one will not filter correctly from first and second selection - it considers only the second one. I.e.:

    <option value="A/a/1">A || a || 11</option>
    <option value="A/a/2">A || a || 12</option>

    <option value="A/b/1">A || b || 21</option>
    <option value="A/b/2">A || b || 22</option>

    <option value="A/a/1">B || a || 41</option>
    <option value="A/a/2">B || a || 42</option>

    <option value="A/b/1">B || b || 51</option>
    <option value="A/b/2">B || b || 52</option>

If you choose "A" in the first selection and "a" in the second one you will get "11,12,41,42" as selectable choices in the third box - I was expecting to see only "11,12". Please see following screenshot.

depent

rafsuntaskin commented 10 years ago

No update on this issue??

I am facing the same problem

ajquick commented 10 years ago

+1

markjs commented 9 years ago

Hey @masch55, @rafsuntaskin, @ajquick! I've just had this repo transferred back to me from my previous employer (I originally created it while working there). Over the coming days and weeks I'll be catching up with all the issues and looking into personally maintaining this in the long run.

Sorry that your comments have gone un-replied for so long, but now it's back in my hands I'll try my best to stay on top of it all.