Codebrahma / react-multi-level-selector

React component for Multi level options Selector for your application
https://react-multi-level-selector.netlify.com/
13 stars 9 forks source link

react-multi-level-selector selects the wrong input in some cases. #4

Open aishwaryashukla opened 4 years ago

aishwaryashukla commented 4 years ago

Hi,

I was using react-multi-level-selector and in some cases I found its selecting the wrong input.

how to reproduce the case:

use below options and choose FRM->ALL->2 and it will select PTE->ALL->2. const options1 = [ { "value": "PTE", "label": "PTE", "options": [ { "value": "ALL", "label": "ALL", "options": [ { "value": "2", "label": "2" }, { "value": "3", "label": "3" } ] } ] }, { "value": "FRM", "label": "FRM", "options": [ { "value": "ALL", "label": "ALL", "options": [ { "value": "2", "label": "2" }, { "value": "3", "label": "3" } ] }, { "value": "Probability", "label": "Probability", "options": [ { "value": "2", "label": "2" }, { "value": "3", "label": "3" } ] } ] } ]

AjayShivanagol commented 2 years ago

any updates ?