()
| 639 | } |
| 640 | |
| 641 | _onInputChange() { |
| 642 | this._setDefaultInputValueIfNeeded(); |
| 643 | const updatedValue = this._removeGroupSeparators(this.input.value); |
| 644 | const inputValue = this._parseNumber(updatedValue); |
| 645 | if (this._isValueChanged(inputValue)) { |
| 646 | this._updateValueAndValidate(Number.isNaN(inputValue) ? this.min || 0 : inputValue); |
| 647 | this.innerInput.value = this.input.value; |
| 648 | } |
| 649 | } |
| 650 | |
| 651 | _setDefaultInputValueIfNeeded() { |
| 652 | if (this.input.value === "") { |
no test coverage detected