ryanehrler / ngx-mask-ionic

ngx-mask fork adapted to work with Ionic
14 stars 19 forks source link

TypeError: Cannot read property 'value' of undefined #10

Open ravijethvaaphp opened 4 years ago

ravijethvaaphp commented 4 years ago

Here is the full error

ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'value' of undefined TypeError: Cannot read property 'value' of undefined at MaskDirective.set maskExpression [as maskExpression] (vendor-es2015.js:116601) at setInputsFromAttrs (vendor-es2015.js:47573) at instantiateAllDirectives (vendor-es2015.js:47275) at createDirectivesInstances (vendor-es2015.js:46484) at ɵɵelementStart (vendor-es2015.js:55133) at ɵɵelement (vendor-es2015.js:55189) at RegisterComponent_Template (template.html:55) at executeTemplate (vendor-es2015.js:46444) at renderView (vendor-es2015.js:46214) at renderComponent (vendor-es2015.js:47793) at resolvePromise (polyfills-es2015.js:3904) at resolvePromise (polyfills-es2015.js:3856) at polyfills-es2015.js:3966 at ZoneDelegate.invokeTask (polyfills-es2015.js:3505) at Object.onInvokeTask (vendor-es2015.js:72989) at ZoneDelegate.invokeTask (polyfills-es2015.js:3504) at Zone.runTask (polyfills-es2015.js:3273) at drainMicroTaskQueue (polyfills-es2015.js:3675) at ZoneTask.invokeTask [as invoke] (polyfills-es2015.js:3590) at invokeTask (polyfills-es2015.js:4727)

tattivitorino commented 4 years ago

same here!

Ionic CLI                     : 6.10.1 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.2.3
   @angular-devkit/build-angular : 0.901.10
   @angular-devkit/schematics    : 9.1.10
   @angular/cli                  : 9.1.10
   @ionic/angular-toolkit        : 2.2.0

Utility:

   cordova-res (update available: 0.15.1) : 0.8.1
   native-run (update available: 1.0.0)   : 0.2.8

System:

   NodeJS : v12.14.0 (/usr/local/Cellar/node@12/12.14.0/bin/node)
   npm    : 6.13.4
   OS     : macOS Catalina

package.json

"dependencies": {
    "@angular/common": "~9.1.6",
    "@angular/core": "~9.1.6",
    "@angular/forms": "~9.1.6",
    "@angular/platform-browser": "~9.1.6",
    "@angular/platform-browser-dynamic": "~9.1.6",
    "@angular/router": "~9.1.6",
    "@ionic-native/core": "^5.0.7",
    "@ionic-native/splash-screen": "^5.0.0",
    "@ionic-native/status-bar": "^5.0.0",
    "@ionic/angular": "^5.0.0",
    "@ionic/storage": "^2.2.0",
    "core-js": "^2.5.4",
    "firebase": "^7.15.5",
    "jsqr": "^1.2.0",
    "moment": "^2.24.0",
    "moment-duration-format": "^2.3.2",
    "moment-timezone": "^0.5.28",
    "ngx-mask-ionic": "^1.1.2",
    "numeral": "^2.0.6",
    "qrcode": "^1.4.2",
    "rxjs": "~6.5.1",
    "tslib": "^1.10.0",
    "zone.js": "~0.10.2"
  },
Sampath-Lokuge commented 4 years ago

Same here too and this is not working Ionic 5 and Angular 9?

bbehling commented 3 years ago

Same here.

Sampath-Lokuge commented 3 years ago

@bbehling I have used PrimeNg here: https://primefaces.org/primeng/showcase/#/inputmask

AdsHan commented 3 years ago

Same here. is there any workaround ?

epiphanizer commented 3 years ago

Ditto.

AdsHan commented 3 years ago

As a workaround I installed ngx-mask and changed it to use .

tattivitorino commented 2 years ago

I think this was left behind.. such a shame.. with such a good project!