ember-select-2
ember-select-2 copied to clipboard
Search for children not working after second level.
Hi, we are using this plugin in our application. However, when we use the dropdown with nested values, the search does not go past the 2nd level of nesting. The structure would be like this:
{
text: 'Main title',
children: [
{
text: 'Subtitle - 1',
children: [
{
name: 'level 3 - 1',
id: 'dasdsad'
},
{
name: 'level 3 - 2',
id: 'dasdsad'
},
{
name: 'level 3 - 3',
id: 'dasdsad'
}
]
},
{
text: 'Subtitle - 2',
children: [
{
name: 'level 3 - 1',
id: 'dasdsad'
},
{
name: 'level 3 - 2',
id: 'dasdsad'
},
{
name: 'level 3 - 3',
id: 'dasdsad'
}
]
}
]
},
In the template, it would be set like this {{select-2 optionLabelPath="name"}}. It renders fine:
But when you try searching, it will not find the 3rd level:
