forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDisableReadonly.vue
More file actions
49 lines (44 loc) · 827 Bytes
/
Copy pathDisableReadonly.vue
File metadata and controls
49 lines (44 loc) · 827 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
<template>
<div class="q-pa-md">
<div class="q-gutter-md row">
<q-select
disable
filled
v-model="model"
:options="options"
hint="Disable"
style="width: 250px"
/>
<q-select
readonly
filled
v-model="model"
:options="options"
hint="Readonly"
style="width: 250px"
/>
<q-select
disable
readonly
filled
v-model="model"
:options="options"
hint="Disable and readonly"
style="width: 250px"
/>
</div>
</div>
</template>
<script>
import { ref } from 'vue'
export default {
setup () {
return {
model: ref('Google'),
options: [
'Google', 'Facebook', 'Twitter', 'Apple', 'Oracle'
]
}
}
}
</script>