forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOptionMapOptions.vue
More file actions
51 lines (49 loc) · 868 Bytes
/
OptionMapOptions.vue
File metadata and controls
51 lines (49 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<template>
<div class="q-pa-md" style="max-width: 300px">
<div class="q-gutter-md">
<q-badge color="secondary" multi-line>
Model: "{{ model }}"
</q-badge>
<q-select
filled
v-model="model"
:options="options"
label="Standard"
emit-value
map-options
/>
</div>
</div>
</template>
<script>
export default {
data () {
return {
model: null,
options: [
{
label: 'Google',
value: 'goog'
},
{
label: 'Facebook',
value: 'fb'
},
{
label: 'Twitter',
value: 'twt'
},
{
label: 'Apple',
value: 'app'
},
{
label: 'Oracle',
value: 'ora',
disable: true
}
]
}
}
}
</script>