* Unformat the given DOM element value, and set the resulting value back as the element value. * * @param {HTMLElement|HTMLInputElement} domElement * @param {object} options * @returns {*}
(domElement, options = null)
| 4599 | * @returns {*} |
| 4600 | */ |
| 4601 | static unformatAndSet(domElement, options = null) { //FIXME test this |
| 4602 | const unformattedValue = this.unformat(domElement, options); |
| 4603 | AutoNumericHelper.setElementValue(domElement, unformattedValue); |
| 4604 | |
| 4605 | return unformattedValue; |
| 4606 | } |
| 4607 | |
| 4608 | /** |
| 4609 | * Unformat and localize the given formatted string with the given options. This returns a numeric string. |
nothing calls this directly
no test coverage detected