r5n-labs/react-native-otp-inputs

There is no way to clear all code.

Closed this issue · 1 comments

<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:
#245