mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 05:53:27 +09:00
917 B
917 B
state
| state | ||
|---|---|---|
|
VIMaskInput
Vuero ships with the <VIMaskInput /> component, a wrapper arround the great
imask javascript library.
Check the code for more details.
<script setup lang="ts">
const value = ref('')
</script>
<template>
<VField v-slot="{ id }">
<VControl>
<VIMaskInput
:id="id"
v-model="value"
autocomplete="cc-csc"
class="input"
:options="{
mask: '000',
}"
placeholder="3 digits code"
/>
</VControl>
</VField>
</template>