An open API service indexing awesome lists of open source software.

https://github.com/tookit/vuetify-cascader

A missing cascader select for vuetify
https://github.com/tookit/vuetify-cascader

cascader-select material material-cascader vuetify-cascader vuetify-component

Last synced: over 1 year ago
JSON representation

A missing cascader select for vuetify

Awesome Lists containing this project

README

          

# vuetify-cascader

A missing cascader select for vuetify

This repo will be archived, please migrate to [https://github.com/tookit/vmajs]

# Demo

http://vma.isocked.com/#/element/cascader/

![example](https://raw.githubusercontent.com/tookit/vuetify-cascader/master/docs/example.png)

# Installation

```
# npm
npm install vuetify-cascader

# Yarn
yarn add vuetify-cascader
```

## Props

| Name | Type | Default | Required? | Description |
| :-------: | :-----: | :-----: | :-------: | -------------------------------------------------- |
| items | Array | [] | Y | A nested data set |
| itemValue | String | value | N | Set property of items’s value - must be primitive. |
| itemText | String | value | N | Set property of items’s text value |
| outlined | Boolean | false | N | Applies the outlined style to the input |
| label | String | null | N | Set input's label |

# Usage

```vue









import VCascader from './components/VCascader.vue'

export default {
components: {
VCascader,
},

data() {
return {
items: [
{
id: 1,
text: 'Phone',
value: 'phone',
children: [
...
],
},
],
selectedItem: null,
}
},
}

```

For other uses see examples: https://github.com/tookit/vuetify-cascader/blob/master/src/App.vue