{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-text-input-mask/issues/40","repository_url":"https://api.github.com/repos/react-native-community/react-native-text-input-mask","labels_url":"https://api.github.com/repos/react-native-community/react-native-text-input-mask/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-text-input-mask/issues/40/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-text-input-mask/issues/40/events","html_url":"https://github.com/react-native-community/react-native-text-input-mask/issues/40","id":304970280,"node_id":"MDU6SXNzdWUzMDQ5NzAyODA=","number":40,"title":"Mixed mask with numbers and letters not working","user":{"login":"JonathanRufino","id":5273493,"node_id":"MDQ6VXNlcjUyNzM0OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/5273493?v=4","gravatar_id":"","url":"https://api.github.com/users/JonathanRufino","html_url":"https://github.com/JonathanRufino","followers_url":"https://api.github.com/users/JonathanRufino/followers","following_url":"https://api.github.com/users/JonathanRufino/following{/other_user}","gists_url":"https://api.github.com/users/JonathanRufino/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanRufino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanRufino/subscriptions","organizations_url":"https://api.github.com/users/JonathanRufino/orgs","repos_url":"https://api.github.com/users/JonathanRufino/repos","events_url":"https://api.github.com/users/JonathanRufino/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanRufino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-13T23:22:37Z","updated_at":"2018-10-11T06:03:16Z","closed_at":null,"author_association":"NONE","body":"Hello everyone.\r\n\r\nI'm trying to create a TextInputMask with the following mask\r\n\r\n### [AAA]-[0000]\r\n(this is the pattern for vehicles license plate here in brazil)\r\n\r\nBut when i type the input field behaves like this:\r\n\r\n<img src=\"https://user-images.githubusercontent.com/5273493/37374757-659a121e-26fb-11e8-9b1b-e30429bbc9f4.gif\" width=\"300\" />\r\n\r\nHere is my code:\r\n\r\n````js\r\n<TextInputMask\r\n    keyboardType='default'\r\n    refInput={ref => { this.TEXT_INPUT_REF = ref; }}\r\n    returnKeyType='go'\r\n    placeholder={Texts.Placeholders.LICENSE_PLATE} /* AAA-0000 */\r\n    style={styles.inputField}\r\n    onChangeText={text => this.props.writeVehicle(text)}\r\n    value={this.props.vehicle}\r\n    autoCapitalize='characters'\r\n    mask={Texts.Masks.LICENSE_PLATE} /* [AAA]-[0000] */\r\n/>\r\n````\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-text-input-mask/issues/comments/428831297","html_url":"https://github.com/react-native-community/react-native-text-input-mask/issues/40#issuecomment-428831297","issue_url":"https://api.github.com/repos/react-native-community/react-native-text-input-mask/issues/40","id":428831297,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODgzMTI5Nw==","user":{"login":"sterfanno","id":17936739,"node_id":"MDQ6VXNlcjE3OTM2NzM5","avatar_url":"https://avatars1.githubusercontent.com/u/17936739?v=4","gravatar_id":"","url":"https://api.github.com/users/sterfanno","html_url":"https://github.com/sterfanno","followers_url":"https://api.github.com/users/sterfanno/followers","following_url":"https://api.github.com/users/sterfanno/following{/other_user}","gists_url":"https://api.github.com/users/sterfanno/gists{/gist_id}","starred_url":"https://api.github.com/users/sterfanno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sterfanno/subscriptions","organizations_url":"https://api.github.com/users/sterfanno/orgs","repos_url":"https://api.github.com/users/sterfanno/repos","events_url":"https://api.github.com/users/sterfanno/events{/privacy}","received_events_url":"https://api.github.com/users/sterfanno/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T06:03:16Z","updated_at":"2018-10-11T06:03:16Z","author_association":"NONE","body":"```\r\n\r\nimport {TextInputMask} from 'react-native-masked-text'\r\n\r\n<TextInputMask                                    \r\n   autoCapitalize=\"characters\"\r\n   type={'custom'}\r\n   options={{mask: 'AAA-9999'}}\r\n   value={}\r\n   onChangeText={} />\r\n```\r\n"}}
{"actor":{"display_login":"sterfanno"}}