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