input-number icon indicating copy to clipboard operation
input-number copied to clipboard

should getValidValue after toNumber

Open wangtao0101 opened this issue 7 years ago • 1 comments

should getValidValue after toNumber

getCurrentValidValue(value) {
    let val = value;
    if (val === '') {
      val = '';
    } else if (!this.isNotCompleteNumber(val)) {
      val = this.getValidValue(val);
    } else {
      val = this.state.value;
    }
    return this.toNumber(val);
  }

wangtao0101 avatar Mar 02 '18 07:03 wangtao0101

Any buggy demo?

afc163 avatar Jun 13 '18 08:06 afc163