Closed yudiz-vipul closed 4 years ago
<OtpInputs selectionColor={Platform.OS === 'ios' && AppColors.app490074} inputContainerStyles={styles.otpInput} inputStyles={styles.otpInputText} numberOfInputs={6} autofillFromClipboard={true} returnKeyType={'done'} handleChange={(code) => { setOTPVerificationCode(code) }} />
I would like to clear all entered code. Is there any way to do this?
I have found solutions here: https://github.com/dsznajder/react-native-otp-inputs/issues/245
<OtpInputs selectionColor={Platform.OS === 'ios' && AppColors.app490074} inputContainerStyles={styles.otpInput} inputStyles={styles.otpInputText} numberOfInputs={6} autofillFromClipboard={true} returnKeyType={'done'} handleChange={(code) => { setOTPVerificationCode(code) }} />
I would like to clear all entered code. Is there any way to do this?