king
2021-08-26 e9c48bd7356462ba9257540b130a47a65ad1861d
src/tabviews/zshare/mutilform/mkInput/index.jsx
@@ -43,6 +43,7 @@
      this.inputRef.current.select()
    } else if (type === 'input') {
      this.setState({value})
      this.props.onChange(value, true)
    }
  }
@@ -77,7 +78,7 @@
    const { config } = this.props
    const { value } = this.state
    return <Input ref={this.inputRef} placeholder="" value={value} autoComplete="off" disabled={config.readonly} onChange={this.handleChange} onPressEnter={this.handleInputSubmit} />
    return <Input ref={this.inputRef} placeholder={config.placeholder || ''} value={value} autoComplete="off" disabled={config.readonly} onChange={this.handleChange} onPressEnter={this.handleInputSubmit} />
  }
}