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