( elm, vnode, checkVal )
| 5954 | |
| 5955 | |
| 5956 | function shouldUpdateValue ( |
| 5957 | elm, |
| 5958 | vnode, |
| 5959 | checkVal |
| 5960 | ) { |
| 5961 | return (!elm.composing && ( |
| 5962 | vnode.tag === 'option' || |
| 5963 | isDirty(elm, checkVal) || |
| 5964 | isInputChanged(elm, checkVal) |
| 5965 | )) |
| 5966 | } |
| 5967 | |
| 5968 | function isDirty (elm, checkVal) { |
| 5969 | // return true when textbox (.number and .trim) loses focus and its value is not equal to the updated value |
no test coverage detected