{"action":"created","issue":{"url":"https://api.github.com/repos/text-mask/text-mask/issues/235","repository_url":"https://api.github.com/repos/text-mask/text-mask","labels_url":"https://api.github.com/repos/text-mask/text-mask/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/text-mask/text-mask/issues/235/comments","events_url":"https://api.github.com/repos/text-mask/text-mask/issues/235/events","html_url":"https://github.com/text-mask/text-mask/issues/235","id":178572285,"number":235,"title":"Problem mask number","user":{"login":"jdsusa","id":22367802,"avatar_url":"https://avatars.githubusercontent.com/u/22367802?v=3","gravatar_id":"","url":"https://api.github.com/users/jdsusa","html_url":"https://github.com/jdsusa","followers_url":"https://api.github.com/users/jdsusa/followers","following_url":"https://api.github.com/users/jdsusa/following{/other_user}","gists_url":"https://api.github.com/users/jdsusa/gists{/gist_id}","starred_url":"https://api.github.com/users/jdsusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdsusa/subscriptions","organizations_url":"https://api.github.com/users/jdsusa/orgs","repos_url":"https://api.github.com/users/jdsusa/repos","events_url":"https://api.github.com/users/jdsusa/events{/privacy}","received_events_url":"https://api.github.com/users/jdsusa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T10:22:36Z","updated_at":"2016-11-24T10:46:35Z","closed_at":"2016-09-23T04:05:11Z","body":"I try to type my input has as mask : `mask = ['7','0','3',' ', /\\d/, /\\d/, /\\d/,/\\d/, ]`\nwhen I began writing the numbers if I start with the first digit of my mask as 7 in my example, I have to type 2 times the digit that appears in my input.\nThis happens with the first number for each mask.\nmy place holder : \"703  _ _ _ _\"\n"},"comment":{"url":"https://api.github.com/repos/text-mask/text-mask/issues/comments/262746359","html_url":"https://github.com/text-mask/text-mask/issues/235#issuecomment-262746359","issue_url":"https://api.github.com/repos/text-mask/text-mask/issues/235","id":262746359,"user":{"login":"DiMoNTD","id":1331473,"avatar_url":"https://avatars.githubusercontent.com/u/1331473?v=3","gravatar_id":"","url":"https://api.github.com/users/DiMoNTD","html_url":"https://github.com/DiMoNTD","followers_url":"https://api.github.com/users/DiMoNTD/followers","following_url":"https://api.github.com/users/DiMoNTD/following{/other_user}","gists_url":"https://api.github.com/users/DiMoNTD/gists{/gist_id}","starred_url":"https://api.github.com/users/DiMoNTD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiMoNTD/subscriptions","organizations_url":"https://api.github.com/users/DiMoNTD/orgs","repos_url":"https://api.github.com/users/DiMoNTD/repos","events_url":"https://api.github.com/users/DiMoNTD/events{/privacy}","received_events_url":"https://api.github.com/users/DiMoNTD/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T10:46:35Z","updated_at":"2016-11-24T10:46:35Z","body":"@msafi \r\n\r\n> This is the intended behavior of Text Mask. I made it this way because I think when the user sees a placeholder such as 703____, the user will intuitively enter 7 to match the first 7 in the placeholder. I don't think when the user enters 7 they'll want 7037___.\r\nThe current behavior also makes it possible to paste a complete string like 703859 and have that handled correctly instead of resulting in 7037038 which is not what the user would want.\r\n\r\nIs possible to make such behavior optional?"}}
{"actor":{"display_login":"DiMoNTD"}}