We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 175da75 commit e468da2Copy full SHA for e468da2
packages/primevue/src/inputotp/InputOtp.vue
@@ -1,12 +1,12 @@
1
<template>
2
<div :class="cx('root')" v-bind="ptmi('root')">
3
+ <input v-if="$formName" type="hidden" :name="$formName" :value="modelValue" />
4
<template v-for="i in length" :key="i">
5
<slot :events="getTemplateEvents(i - 1)" :attrs="getTemplateAttrs(i - 1)" :index="i">
6
<OtpInputText
7
:value="tokens[i - 1]"
8
:type="inputType"
9
:class="cx('pcInputText')"
- :name="$formName"
10
:inputmode="inputMode"
11
:variant="variant"
12
:readonly="readonly"
0 commit comments