|
|
|
@ -7,13 +7,14 @@ class WordNumberTextarea extends Component {
|
|
|
|
|
render() {
|
|
|
|
|
return(
|
|
|
|
|
<div className="WordNumbernote">
|
|
|
|
|
<textarea placeholder={this.props.PlaceholderValue}
|
|
|
|
|
className="WordNumberTextarea"
|
|
|
|
|
value={this.props.Value}
|
|
|
|
|
onInput={(e)=>this.props.InputValue(e)}
|
|
|
|
|
maxlength={this.props.maxFontLength}
|
|
|
|
|
<textarea
|
|
|
|
|
placeholder={this.props.placeholder}
|
|
|
|
|
className="WordNumberTextarea"
|
|
|
|
|
value={this.props.value}
|
|
|
|
|
onInput={(e)=>this.props.onInput(e)}
|
|
|
|
|
maxlength={this.props.maxlength}
|
|
|
|
|
/>
|
|
|
|
|
<div className="WordNumberTextarea-count"><span>{this.props.Value===undefined?0:this.props.Value.length}</span>/{this.props.maxFontLength}</div>
|
|
|
|
|
<div className="WordNumberTextarea-count"><span>{this.props.value===undefined?0:this.props.value.length}</span>/{this.props.maxlength}</div>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|