forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMaskBasic.vue
More file actions
41 lines (38 loc) · 736 Bytes
/
MaskBasic.vue
File metadata and controls
41 lines (38 loc) · 736 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
<template>
<div class="q-pa-md" style="max-width: 300px">
<div class="q-gutter-md">
<q-input
filled
v-model="id"
label="Special ID"
mask="###/##"
hint="Mask: ###/##"
/>
<q-input
filled
v-model="phone"
label="Phone"
mask="(###) ### - ####"
hint="Mask: (###) ### - ####"
/>
<q-input
filled
v-model="serialNumber"
label="Serial number"
mask="AAAA - #### - #### - SSS"
hint="Mask: AAAA - #### - #### - SSS"
/>
</div>
</div>
</template>
<script>
export default {
data () {
return {
id: null,
phone: null,
serialNumber: null
}
}
}
</script>