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"
}
]
}
]
}
]
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"
}
]
}
]
}
]