angular-payments icon indicating copy to clipboard operation
angular-payments copied to clipboard

Card number input error

Open thomas-tewelde opened this issue 8 years ago • 0 comments

My input field looks like this: <input type="text" name="number" ng-model="number" payments-validate="card" payments-format="card" payments-type-model="type" ng-class="myForm.number.$card.type" />

The error is as follows: TypeError: a.fromNumber is not a function at Array.i (angular-payments.min.js:2) at ngModelWatch (ionic.bundle.js:40103) at Scope.$digest (ionic.bundle.js:30230) at Scope.$apply (ionic.bundle.js:30503) at done (ionic.bundle.js:24824) at completeRequest (ionic.bundle.js:25022) at XMLHttpRequest.requestLoaded (ionic.bundle.js:24963)

thomas-tewelde avatar Aug 20 '16 22:08 thomas-tewelde