diff --git a/README.md b/README.md index 932d85a..a5183c5 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ app.component('v-otp-input', VOtpInput).mount('#app') separator="-" :num-inputs="4" :should-auto-focus="true" - :is-input-num="true" + input-type="letter-numeric" :conditionalClass="['one', 'two', 'three', 'four']" :placeholder="['*', '*', '*', '*']" @on-change="handleOnChange" diff --git a/package.json b/package.json index 247bf65..963688d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-otp-input", - "version": "0.4.0", + "version": "0.4.1", "description": "A fully customizable, OTP (one-time password) input component built with Vue 3.x and Vue Composition API.", "author": "Ejiro Asiuwhu ", "scripts": { diff --git a/src/components/vue3-otp-input.vue b/src/components/vue3-otp-input.vue index b51f2e3..8d1d054 100644 --- a/src/components/vue3-otp-input.vue +++ b/src/components/vue3-otp-input.vue @@ -230,7 +230,7 @@ export default /* #__PURE__ */ defineComponent({