We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358ea3b commit 9f6a8cfCopy full SHA for 9f6a8cf
components/lib/inputotp/InputOtp.js
@@ -199,7 +199,7 @@ export const InputOtp = React.memo(
199
onBlur,
200
onPaste
201
};
202
- const inputElementProps = mergeProps({
+ const inputElementProps = {
203
id: inputElementIndex,
204
key: inputElementIndex,
205
value: tokens[inputElementIndex] || '',
@@ -214,7 +214,7 @@ export const InputOtp = React.memo(
214
'aria-label': ariaLabel('otpLabel', { 0: inputElementIndex + 1 }),
215
className: cx('input'),
216
pt: ptm('input')
217
- });
+ };
218
const inputElement = props?.inputTemplate ? (
219
ObjectUtils.getJSXElement(props?.inputTemplate, {
220
events: inputElementEvents,
0 commit comments