( elm, vnode, checkVal )
| 5512 | |
| 5513 | |
| 5514 | function shouldUpdateValue ( |
| 5515 | elm, |
| 5516 | vnode, |
| 5517 | checkVal |
| 5518 | ) { |
| 5519 | return (!elm.composing && ( |
| 5520 | vnode.tag === 'option' || |
| 5521 | isDirty(elm, checkVal) || |
| 5522 | isInputChanged(elm, checkVal) |
| 5523 | )) |
| 5524 | } |
| 5525 | |
| 5526 | function isDirty (elm, checkVal) { |
| 5527 | // return true when textbox (.number and .trim) loses focus and its value is not equal to the updated value |
no test coverage detected