Skip to content

Commit fe80a0b

Browse files
committed
docs(otp-input): update the order of mask example
1 parent f1b1b7a commit fe80a0b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • packages/varlet-ui/src/otp-input/example

packages/varlet-ui/src/otp-input/example/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ function handleComplete(value) {
6161
</template>
6262
</var-otp-input>
6363

64+
<app-type style="margin-top: 10vmin">{{ t('mask') }}</app-type>
65+
<var-otp-input v-model="maskedValue" mask />
66+
6467
<app-type style="margin-top: 10vmin">{{ t('paste') }}</app-type>
6568
<var-space direction="column" :size="['4vmin', 0]">
6669
<div class="otp-input-example__tip">
@@ -89,9 +92,6 @@ function handleComplete(value) {
8992
<app-type style="margin-top: 10vmin">{{ t('validation') }}</app-type>
9093
<var-otp-input v-model="validatedValue" variant="filled" :rules="z.string().length(6, t('errorMessage'))" />
9194

92-
<app-type style="margin-top: 10vmin">{{ t('mask') }}</app-type>
93-
<var-otp-input v-model="maskedValue" mask />
94-
9595
<div style="height: 20px"></div>
9696
</template>
9797

0 commit comments

Comments
 (0)