ttdung11t2 / react-native-confirmation-code-input

A react-native component to input confirmation code for both Android and IOS
MIT License
411 stars 349 forks source link

feature: getCurrentCode called when change focus and return code #22

Open timqha opened 6 years ago

timqha commented 6 years ago

Need for custom validation, where user Enter confirmation code and erase it. the code remains complete after the onFulfill event.

Now, if necessary, we can get CurrentCode for onFocus.

add new prop: getCurrentCode - returns the current code as a string