Mixed mask with numbers and letters not working
See original GitHub issueHello everyone.
I’m trying to create a TextInputMask with the following mask
[AAA]-[0000]
(this is the pattern for vehicles license plate here in brazil)
But when i type the input field behaves like this:
Here is my code:
<TextInputMask
keyboardType='default'
refInput={ref => { this.TEXT_INPUT_REF = ref; }}
returnKeyType='go'
placeholder={Texts.Placeholders.LICENSE_PLATE} /* AAA-0000 */
style={styles.inputField}
onChangeText={text => this.props.writeVehicle(text)}
value={this.props.vehicle}
autoCapitalize='characters'
mask={Texts.Masks.LICENSE_PLATE} /* [AAA]-[0000] */
/>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:8
Top Results From Across the Web
Mixed mask with numbers and letters not working #40
Hello everyone. I'm trying to create a TextInputMask with the following mask [AAA]-[0000] (this is the pattern for vehicles license plate ...
Read more >Control data entry formats with input masks - Microsoft Support
A combination of mandatory letters and characters, all uppercase. Use this type of input mask, for example, to help users enter part numbers...
Read more >Input mask jquery : letter or number - Stack Overflow
How to get the format where user can input letter or number,. A = Letter, 9 = number. I need a mask like...
Read more >How to Use an Input Mask in Microsoft Access ... - YouTube
We will create input masks for telephone numbers, ZIP cod... ... I recently wanted to make a report showing customers by area code, ......
Read more >Introduction to Access Input Masks, Numbers, Letters, Capital ...
An Introduction to Input Masks. Numbers 0 9Letters L ?Capital. Small Case!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @sterfanno , but still I am getting an error, the value is duplicating
Works fine on emulator, but this is the behaviour in real devices, don’t know what causing this, thanks in advance