Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <v-container fluid>
- <v-layout wrap align_center>
- <v-flex xs12 sm6>
- <v-subheader v-text="'Multiple with persistent hint'"></v-subheader>
- </v-flex>
- <v-flex xs12 sm6>
- <v-select
- v-model="selected"
- :items="items"
- item-text= "city"
- item-value="value"
- :menu-props="{ maxHeight: '400'}"
- label="Select"
- hint="Pick your favorite states"
- multiple
- persistent-hint
- return-object
- single-line
- ></v-select>
- </v-flex>
- </v-layout>
- </v-container>
- </template>
- <script>
- export default {
- data () {
- return {
- selected: [],
- items:[
- {city: 'Aalst', value:43},
- {city: 'Ghent', value:12},
- {city: 'Bruges', value:95},
- ]
- }
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement