vue3-tree icon indicating copy to clipboard operation
vue3-tree copied to clipboard

`id` should not be required.

Open aykutkardas opened this issue 3 years ago • 0 comments

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

  • I'm submitting a ...

    • [x] feature request
  • What is the current behavior? Initial data

[
  {
    "id": 1,
    "label": "Animal",
    "nodes": [
      {
        "id": 2,
        "label": "Dog"
      },
      {
        "id": 3,
        "label": "Cat"
      }
    ]
  }
]
  • What is the expected behavior? If I don't give an id it should generate it.
[
  {
    "label": "Animal",
    "nodes": [
      {
        "label": "Dog"
      },
      {
        "label": "Cat"
      }
    ]
  }
]
  • What is the motivation / use case for changing the behavior? Common usage is like this. In addition, it is tiring for the end user to create an id for unidentified data.

aykutkardas avatar Feb 22 '22 05:02 aykutkardas