Skip to content

Nested groups for options #1918

@QuentiumYT

Description

@QuentiumYT

Hello, this is a feature request to ask if it would be possible to add a system to have nested groups in the select.
Group select can also be enabled.

It would be like that (with Sub indented and below, multiple sub options):

Image

Should look like that for example

 [
  {
    entity: 'Javascript',
    children: [
      { name: 'Vue.js', value: 'Front-end' },
      { name: 'Adonis', value: 'Backend' },
      {
        name: 'Sub',
        children: [
          { name: 'Sub1', value: 'Backend' },
          { name: 'Sub2', value: 'Backend' },
        ],
      },
    ],
  },
  {
    entity: 'Ruby',
    children: [
      { name: 'Rails', value: 'Backend' },
      { name: 'Sinatra', value: 'Backend' },
    ],
  },
  {
    entity: 'Other',
    children: [
      { name: 'Laravel', value: 'Backend' },
      { name: 'Phoenix', value: 'Backend' },
    ],
  },
]```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions