You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.
when validate on a input type="text", input some text, press "home" or use mouse click move the caret to the input begining position,
then press "Delete" key, the caret position will auto jump to the end of the input!!!!
The text was updated successfully, but these errors were encountered:
key: 'manageElement',value: functionmanageElement(el){var_this=this;var_=exports$1.Vue.util;varscope=this._getScope();varmodel=attr(el,'v-model');if(model){el.value=scope.$get(model)||'';this._unwatch=scope.$watch(model,_.bind(function(val,old){if(val!==old){//el.value = val; // press "delete" key in a <input type="text /> will cause the caret jump to the end_this.handleValidate(el);}},this));}}
this._unwatch=scope.$watch(model,_.bind(function(val,old){if(val!==old){//el.value = val; // el.value is already equal to val, why this code doing? thanks!_this.handleValidate(el);}},this));}}
found a bug?
when validate on a input type="text", input some text, press "home" or use mouse click move the caret to the input begining position,
then press "Delete" key, the caret position will auto jump to the end of the input!!!!
The text was updated successfully, but these errors were encountered: