{"action":"opened","issue":{"url":"https://api.github.com/repos/text-mask/text-mask/issues/394","repository_url":"https://api.github.com/repos/text-mask/text-mask","labels_url":"https://api.github.com/repos/text-mask/text-mask/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/text-mask/text-mask/issues/394/comments","events_url":"https://api.github.com/repos/text-mask/text-mask/issues/394/events","html_url":"https://github.com/text-mask/text-mask/issues/394","id":209468650,"number":394,"title":"Problem with Angular2 and Ionic2 when using Reactive Forms","user":{"login":"lincolnthree","id":362329,"avatar_url":"https://avatars.githubusercontent.com/u/362329?v=3","gravatar_id":"","url":"https://api.github.com/users/lincolnthree","html_url":"https://github.com/lincolnthree","followers_url":"https://api.github.com/users/lincolnthree/followers","following_url":"https://api.github.com/users/lincolnthree/following{/other_user}","gists_url":"https://api.github.com/users/lincolnthree/gists{/gist_id}","starred_url":"https://api.github.com/users/lincolnthree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lincolnthree/subscriptions","organizations_url":"https://api.github.com/users/lincolnthree/orgs","repos_url":"https://api.github.com/users/lincolnthree/repos","events_url":"https://api.github.com/users/lincolnthree/events{/privacy}","received_events_url":"https://api.github.com/users/lincolnthree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-22T14:25:03Z","updated_at":"2017-02-22T14:25:03Z","closed_at":null,"body":"Hey there,\r\n\r\nJust tried to set this up and quickly ran into the following error. Not sure what I'm doing wrong but any help would be appreciated. Thanks! Using your recent Angular 5.0.0 release.\r\n\r\n```Uncaught TypeError: Cannot read property 'subscribe' of null\r\n    at http://localhost:8100/build/main.js:102229:14\r\n    at new t (http://localhost:8100/build/polyfills.js:3:11329)\r\n    at toPromise (http://localhost:8100/build/main.js:102227:12)\r\n    at _convertToPromise (http://localhost:8100/build/main.js:10800:187)\r\n    at Array.map (native)\r\n    at http://localhost:8100/build/main.js:10793:80\r\n    at http://localhost:8100/build/main.js:10806:49\r\n    at Array.map (native)\r\n    at _executeAsyncValidators (http://localhost:8100/build/main.js:10806:23)\r\n    at FormControl.asyncValidator (http://localhost:8100/build/main.js:10793:28)```\r\n\r\nAnd my stuff:\r\n\r\n```\r\n\t\tthis.emailForm = this.fb.group({\r\n\t\t\temail: [this.auth.getUser().local.email, [Validators.required, CustomValidators.email]]\r\n\t\t});```\r\n\r\n```\r\n\tphoneNum = '';\r\n\tmask: any = {\r\n\t\tmask: ['(', /[1-9]/, /\\d/, /\\d/, ')', ' ', /\\d/, /\\d/, /\\d/, '-', /\\d/, /\\d/, /\\d/, /\\d/],\r\n\t\tplaceholderChar: ' ',\r\n\t\tguide: false\r\n\t};```\r\nI tried with and without [(ngModel)]:\r\n```\r\n        <ion-item>\r\n          <ion-label floating>Telephone number</ion-label>\r\n          <ion-input [textMask]=\"mask\" formControlName=\"phone\" type=\"phone\" placeholder=\"\"></ion-input>\r\n        </ion-item>\r\n```\r\n\r\nThoughts? Thanks. I also tried without <ion-label>. No luck."}}
{"actor":{"display_login":"lincolnthree"}}