TreeView Collapse without key

UI Components for React
Post Reply
gokhantiknaz
Posts: 3
Joined: 11 Nov 2020, 15:19

18 Oct 2021, 09:28

Hi, I'm using "primereact": "6.3.2" version. Tree Component Collapse is not working without key attribute.
Am i missing something or Key attribute is necessary?

"root": [
{
"key": "0",
"label": "Documents",

mcandu
Posts: 71
Joined: 20 Jan 2021, 16:31

04 Nov 2021, 13:34

Hi,

Could you please create a codesandbox example that I can see the issue ?

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests