Browse Source

line width tweak

dev
Evan You 8 years ago
parent
commit
0a3f831d67
  1. 3
      src/platforms/web/runtime/modules/dom-props.js

3
src/platforms/web/runtime/modules/dom-props.js

@ -61,7 +61,8 @@ function shouldUpdateValue (
}
function isDirty (elm: acceptValueElm, checkVal: string): boolean {
// return true when textbox (.number and .trim) loses focus and its value is not equal to the updated value
// return true when textbox (.number and .trim) loses focus and its value is
// not equal to the updated value
return document.activeElement !== elm && elm.value !== checkVal
}

Loading…
Cancel
Save