I have tree select with options. When i click on Name, it displays Name, but I want it to be Item > Name, because this is children node. What should I do ? I found [nzDisplayWith], but it doesn't help.
const options = [{
{
title: 'Item',
key: 'Item',
children: [
{
title: 'Name',
key: 'Item-Name',
isLeaf: true,
}
]
},
}]
<nz-tree-select
style="width: 100%"
[nzNodes]="options"
[nzDefaultExpandAll]="true"
aria-autocomplete="none"
nzVirtualHeight="240px"
formControlName="field"
></nz-tree-select>