I want to use ng2-select children, but it can't show any data
And demo can't show too;
try this
public items:Array<any> = [
{
id: 1,
text: 'Austria',
children: [
{id: 54, text: 'Vienna'}
]
},
{
id: 2,
text: 'Belgium',
children: [
{id: 2, text: 'Antwerp'},
{id: 9, text: 'Brussels'}
]
}
]
Same problem here!
The @jacobke solution not worked for me.
Duplicate #922
Duplicate #597
Do we have the workaround for adding custom stylings to the parent item? please see the question here.
Most helpful comment
try this