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