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] Add a cascade to the select component #3049

Open
wangyi7099 opened this issue Jan 19, 2018 · 10 comments
Open

[Feature Request] Add a cascade to the select component #3049

wangyi7099 opened this issue Jan 19, 2018 · 10 comments
Assignees
Labels
C: VAutocomplete VAutocomplete C: VMenu VMenu C: VSelect VSelect T: enhancement Functionality that enhances existing features

Comments

@wangyi7099
Copy link

New Functionality

vuetify is awesome! And I want it to be more perfect! Please let me describe the feature request. For example, I want to choose a address where send the goods I buy, and my address is from province to the building I live now like XX city XX street XX Community room 1111, Unit 2, D Building .。 But now, I can only choose one address such as city , street and so on. If there is a cascade selector , I can choose these addresses in one select, and needn't produce any more select components.

Improvements

I can choose the cascaded address in one select component.

Bugs or Edge Cases it Helps Avoid

The adjacent cascade doesn't align.

@lcdss
Copy link

lcdss commented Jan 20, 2018

Another scenario is when you have to select a category that has children categories.

                 ----- Category Four
                 -
                 -
Category One ----- Category Three ----- Category Five
                 -                ----- Category Seven
                 -
                 ----- Category Six


                 ----- Category Twelve
                 -
                 -
Category Two ----- Category Eight ----- Category Ten
                 -                ----- Category Eleven
                 -
                 ----- Category Nine
const categories = [
  { 
    label: 'Category One',
    value: 1, 
    children: [
      { label: 'Category Four', value: 4 },
      { 
        label: 'Category Tree',
        value: 3,
        children:  [
          { label: 'Category Five', value: 5 },
          { label: 'Category Seven', value: 7 }
        ]
      },
      { label:  'Category Six', value: 6 }
    ]
  },
  // ...
]

A more intuitive example can be seen here.

@nekosaur nekosaur added the T: enhancement Functionality that enhances existing features label Jan 20, 2018
@thibaultvanc

This comment has been minimized.

@ipluser
Copy link

ipluser commented Jan 15, 2019

like Element#cascader

@blalan05 blalan05 added C: VAutocomplete VAutocomplete C: VSelect VSelect labels Apr 9, 2019
@cyyssly
Copy link

cyyssly commented Jul 19, 2019

I just uploaded a repository, Maybe it would be helpful: cyyssly/vue-vuetify-cascade

@wxs77577

This comment has been minimized.

@kolesnikovav
Copy link

Look at this vuetify-compatible cascade selector. VCascader

@tookit
Copy link

tookit commented Mar 3, 2021

you can check this out
https://github.com/tookit/vuetify-cascader
vuetify-cascader

@nekooee

This comment has been minimized.

@felipyamorim

This comment has been minimized.

@BookerLiu

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VAutocomplete VAutocomplete C: VMenu VMenu C: VSelect VSelect T: enhancement Functionality that enhances existing features
Projects
None yet
Development

No branches or pull requests