@@ -199,24 +199,22 @@ export const InputOtp = React.memo(
199
199
onBlur,
200
200
onPaste
201
201
} ;
202
- const inputElementProps = mergeProps (
203
- {
204
- id : inputElementIndex ,
205
- key : inputElementIndex ,
206
- value : tokens [ inputElementIndex ] || '' ,
207
- inputMode : props ?. integerOnly ? 'numeric' : 'text' ,
208
- type : props ?. mask ? 'password' : 'text' ,
209
- variant : props ?. variant ,
210
- readOnly : props ?. readOnly ,
211
- disabled : props ?. disabled ,
212
- invalid : props ?. invalid ,
213
- tabIndex : props ?. tabIndex ,
214
- unstyled : props ?. unstyled ,
215
- 'aria-label' : ariaLabel ( 'otpLabel' , { 0 : inputElementIndex + 1 } ) ,
216
- className : cx ( 'input' )
217
- } ,
218
- ptm ( 'input' )
219
- ) ;
202
+ const inputElementProps = mergeProps ( {
203
+ id : inputElementIndex ,
204
+ key : inputElementIndex ,
205
+ value : tokens [ inputElementIndex ] || '' ,
206
+ inputMode : props ?. integerOnly ? 'numeric' : 'text' ,
207
+ type : props ?. mask ? 'password' : 'text' ,
208
+ variant : props ?. variant ,
209
+ readOnly : props ?. readOnly ,
210
+ disabled : props ?. disabled ,
211
+ invalid : props ?. invalid ,
212
+ tabIndex : props ?. tabIndex ,
213
+ unstyled : props ?. unstyled ,
214
+ 'aria-label' : ariaLabel ( 'otpLabel' , { 0 : inputElementIndex + 1 } ) ,
215
+ className : cx ( 'input' ) ,
216
+ pt : ptm ( 'input' )
217
+ } ) ;
220
218
const inputElement = props ?. inputTemplate ? (
221
219
ObjectUtils . getJSXElement ( props ?. inputTemplate , {
222
220
events : inputElementEvents ,
0 commit comments