|
@@ -86,10 +86,6 @@ function isDirtyWithModifiers (elm: any, newVal: string): boolean {
|
|
|
const value = elm.value
|
|
const value = elm.value
|
|
|
const modifiers = elm._vModifiers // injected by v-model runtime
|
|
const modifiers = elm._vModifiers // injected by v-model runtime
|
|
|
if (isDef(modifiers)) {
|
|
if (isDef(modifiers)) {
|
|
|
- if (modifiers.lazy) {
|
|
|
|
|
- // inputs with lazy should only be updated when not in focus
|
|
|
|
|
- return false
|
|
|
|
|
- }
|
|
|
|
|
if (modifiers.number) {
|
|
if (modifiers.number) {
|
|
|
return toNumber(value) !== toNumber(newVal)
|
|
return toNumber(value) !== toNumber(newVal)
|
|
|
}
|
|
}
|