angularjs - Input field is not recognizing pasted data -
i have problem that, when try copy paste data, not recognized angular. if delete last number , write again, recognized. ideas can cause ?
<input limit-to="20" name="iban" class="form-control" ng-model="paymentdata.iban" placeholder="at1234567890123456789" iban="de" required, xt-validation-tooltip placement="top" msg-iban="bitte geben sie eine gültige iban ein." msg-required="bitte geben sie ihre iban ein."/> </div>
what mean when not recognized angular? see have orphaned div. input sandwiched within div wired controller? play fiddle here , see works expected copied , pasted numbers.
markup
<div ng-controller="myctrl"> <input limit-to="20" name="iban" class="form-control" ng-model="paymentdata.iban" placeholder="at234567890123456789" iban="de" required, xt-validation-tooltip placement="top" msg-iban="bitte geben sie eine gültige iban ein." msg-required="bitte geben sie ihre iban ein."/> {{paymentdata.iban}} </div>
js
var myapp = angular.module('myapp',[]). controller('myctrl',function myctrl($scope) { });
Comments
Post a Comment