ng2-select icon indicating copy to clipboard operation
ng2-select copied to clipboard

ng2-select children not show any data

Open 253936563 opened this issue 9 years ago • 5 comments

I want to use ng2-select children, but it can't show any data

253936563 avatar Jul 29 '17 06:07 253936563

And demo can't show too;

253936563 avatar Jul 29 '17 06:07 253936563

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

jacobke avatar Aug 29 '17 11:08 jacobke

Same problem here!

The @jacobke solution not worked for me.

HigorSilvaRosa avatar Sep 14 '17 21:09 HigorSilvaRosa

Duplicate #922

fidelsam1992 avatar Jan 07 '18 12:01 fidelsam1992

Duplicate #597 Do we have the workaround for adding custom stylings to the parent item? please see the question here.

pooja23 avatar Jan 16 '18 14:01 pooja23