{"action":"opened","issue":{"url":"https://api.github.com/repos/insin/react-maskedinput/issues/8","labels_url":"https://api.github.com/repos/insin/react-maskedinput/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/insin/react-maskedinput/issues/8/comments","events_url":"https://api.github.com/repos/insin/react-maskedinput/issues/8/events","html_url":"https://github.com/insin/react-maskedinput/issues/8","id":76735278,"number":8,"title":"Pattern changes are not immediately reflected","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-15T14:00:56Z","updated_at":"2015-05-15T14:00:56Z","closed_at":null,"body":"For things like credit cards the pattern needs to be updated on the fly. E.g. if an amex card is detected that uses a different pattern to visa for example. \r\n\r\nCurrently MaskedInput doesn't use setPattern to update the pattern when it changes so changing the pattern dynamically results in no changes."}}