|
@@ -32,7 +32,7 @@ class NumberDrop extends Component{
|
|
|
this.$pre = React.createRef();
|
|
|
this.$suf = React.createRef();
|
|
|
this.$cont = React.createRef();
|
|
|
- this.select = this.select.bind(this);
|
|
|
+ //this.select = this.select.bind(this);
|
|
|
this.numInpBlur = this.numInpBlur.bind(this);
|
|
|
this.handleSpanInp = this.handleSpanInp.bind(this);
|
|
|
this.handleNumClick = this.handleNumClick.bind(this);
|
|
@@ -276,7 +276,7 @@ class NumberDrop extends Component{
|
|
|
className={this.getSpanClass()}
|
|
|
> {value||placeholder}</span>
|
|
|
<span ref = {this.$suf}> {suffix}</span>
|
|
|
- <NumberPan handleSelect={(text)=>this.select(text)}
|
|
|
+ <NumberPan handleSelect={this.select.bind(this)}
|
|
|
onClose={handleHide}
|
|
|
show={show}
|
|
|
toClear={!hasSelect}
|