* Set the given value directly as the DOM element value, without formatting it beforehand, and without checking its validity. * This also updates the `rawValue` with the given `newValue`, without checking it too ; if it's not formatted like a number recognized by Javascript, this *will* likely
(newValue, saveChangeToHistory = true)
| 2238 | * @returns {AutoNumeric} |
| 2239 | */ |
| 2240 | setValue(newValue, saveChangeToHistory = true) { |
| 2241 | this._setElementAndRawValue(newValue, saveChangeToHistory); |
| 2242 | |
| 2243 | return this; |
| 2244 | } |
| 2245 | |
| 2246 | /** |
| 2247 | * Save the raw value inside the AutoNumeric object. |
no test coverage detected