assisrafael / angular-input-masks

Opinionated input masks for AngularJS
http://assisrafael.github.io/angular-input-masks/
MIT License
963 stars 329 forks source link

retorno undefined ao utilizar ui-br-cpf-mask e ui-br-cep-mask #339

Closed matheusnicolas closed 6 years ago

matheusnicolas commented 6 years ago

No meu projeto, apenas os campos que utilizam máscara, estão dando undefined. Isso é no Google Chrome. Máscara que tô utilizando: ui-br-cpf-mask e ui-br-cep-mask

TypeError: Cannot set property 'cpf' of undefined at http://localhost:8080/loteamento/resources/v1.0/bower_components/angular-input-masks/angular-input-masks.br.min.js:1:15469 at Object.q [as forEach] (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:7:386) at link (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular-input-masks/angular-input-masks.br.min.js:1:15417) at J (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:53:345) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:399) at J (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:53:286) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:399) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:416) at J (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:53:286) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:399)

TypeError: Cannot set property 'cep' of undefined at http://localhost:8080/loteamento/resources/v1.0/bower_components/angular-input-masks/angular-input-masks.br.min.js:1:15469 at Object.q [as forEach] (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:7:386) at link (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular-input-masks/angular-input-masks.br.min.js:1:15417) at J (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:53:345) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:399) at J (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:53:286) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:399) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:416) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:416) at http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:67

angular.js:9778 TypeError: Cannot set property 'cpf' of undefined at http://localhost:8080/loteamento/resources/v1.0/bower_components/angular-input-masks/angular-input-masks.br.min.js:1:15469 at Object.q [as forEach] (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:7:386) at link (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular-input-masks/angular-input-masks.br.min.js:1:15417) at J (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:53:345) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:399) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:416) at J (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:53:286) at f (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:399) at http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:46:67 at link (http://localhost:8080/loteamento/resources/v1.0/bower_components/angular/angular.min.js:192:216)