I'm trying to add functionality to input mm/yy fields so as when the users enters 2 digits, slashes "/" get automatically added.
here's my TextInput
<TextInput
placeholder="mm/yy"
placeholderTextColor={Colors.BLACK_TRANSPARENT_50}
keyboardType="number-pad"
maxLength={4}
returnKeyType="done"
style={styles.secondtextinput}
></TextInput>