vuetify use selected value

Solutions on MaxInterview for vuetify use selected value by the best coders in the world

showing results for - "vuetify use selected value"
Erwan
02 Feb 2019
1new Vue({
2  el: '#app',
3  data: () => ({
4    items: [
5      {value: '1', bankName: 'Bank1'},
6      {value: '2', bankName: 'Bank2'},
7    ],
8    selectedBank: null
9  }),
10  methods: {
11    directToBank() {
12      console.log("Label: ", this.selectedBank.bankName)
13      console.log("Value: ", this.selectedBank.value)        
14    }
15  }
16})
17