primeNG tree select value

Discussão em 'Angular' iniciado por Qeybulla, Março 6, 2025.

  1. Qeybulla

    Qeybulla Guest

    I use primeng's tree-select compoment. I have a tree of objects which have name property in each object. However, primeng tries to find label property. Althoug I have label property in my objects, I want to bind name property, not label.

    Actually, I used optionLabel and optionValue for select component, and what I am asking is are there such properties for tree-select component also? If not, how can I solve this problem?

    Continue reading...

Compartilhe esta Página