Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Does v-select have the function of tree structure? #12895

Closed
C-viya opened this issue Jan 5, 2021 · 1 comment
Closed
Labels
duplicate The issue has already been reported

Comments

@C-viya
Copy link

C-viya commented Jan 5, 2021

Problem to solve

There are some sitation need to see the hierarchy of options.
Does v-select have the function of tree structure?I didn't find this when I read the documents and materials.
It seems that the assignment needs to be queried from ‘items’

Proposed solution

Is it possible to assign an array of values directly to the v-select?(checkbox)
String assignment similar to input.(radio)
`
<v-select
:value="valueTitle"
:clearable="clearable"
:label="label"
:item-text="itemText"
:item-value="itemValue"
:chips="chips"

<template v-slot:prepend-item>
  <v-treeview
    :items="items"
    return-object
    activatable
    hoverable
    dense
    transition
    @update:active="active"
  >
  </v-treeview>
</template>
`

@ghost ghost added the S: triage label Jan 5, 2021
@KaelWD
Copy link
Member

KaelWD commented Jan 6, 2021

Duplicate of #3049

@KaelWD KaelWD marked this as a duplicate of #3049 Jan 6, 2021
@KaelWD KaelWD closed this as completed Jan 6, 2021
@KaelWD KaelWD added duplicate The issue has already been reported and removed S: triage labels Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants