diff --git a/dist/src/OtpInput/OtpInput.js b/dist/src/OtpInput/OtpInput.js index d8bc5fd..c9cc872 100644 --- a/dist/src/OtpInput/OtpInput.js +++ b/dist/src/OtpInput/OtpInput.js @@ -32,6 +32,6 @@ exports.OtpInput = (0, react_1.forwardRef)((props, ref) => { ); })} - + ); }); diff --git a/src/OtpInput/OtpInput.tsx b/src/OtpInput/OtpInput.tsx index 1fc960e..baed2ab 100644 --- a/src/OtpInput/OtpInput.tsx +++ b/src/OtpInput/OtpInput.tsx @@ -74,6 +74,7 @@ export const OtpInput = forwardRef((props, ref) => { onChangeText={handleTextChange} maxLength={numberOfDigits} inputMode="numeric" + textContentType="oneTimeCode" ref={inputRef} autoFocus={autoFocus} style={styles.hiddenInput} diff --git a/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap b/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap index f17f2cf..560b9c0 100644 --- a/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap +++ b/src/OtpInput/__snapshots__/OtpInput.test.tsx.snap @@ -409,6 +409,7 @@ exports[`OtpInput UI should render correctly 1`] = ` } } testID="otp-input-hidden" + textContentType="oneTimeCode" value="" />