akinncar/react-native-mask-text

DateTime validation

DarkVito opened this issue · 1 comments

DateTime validation

Hey, i need validate date and time with this lib with <MaskedTextInput/>. Example: user input 9:99:99 become 9:59:59 because 99 minute and 99 seconds does not exist. Have any ideas how to solve this?

Hey @DarkVito thank's for your question. Unfortunately, we don't have this option to format hours yet.

It would be nice to have, it's important the lib covers a lot of use cases. Maybe we can include this feature soon.

PR's are welcome!