forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMaskFill.vue
More file actions
44 lines (41 loc) · 772 Bytes
/
MaskFill.vue
File metadata and controls
44 lines (41 loc) · 772 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
<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="###/##"
fill-mask
hint="Mask: ###/##"
/>
<q-input
filled
v-model="phone"
label="Phone"
mask="(###) ### - ####"
fill-mask
hint="Mask: (###) ### - ####"
/>
<q-input
filled
v-model="card"
label="Card"
mask="#### #### #### ####"
fill-mask="#"
hint="Mask: #### #### #### ####, FillMask: #"
/>
</div>
</div>
</template>
<script>
export default {
data () {
return {
id: null,
phone: null,
card: null
}
}
}
</script>