mirror of https://github.com/sualko/cloud_bbb
fix: submit input field
parent
93647da46a
commit
ade0445a23
|
@ -32,7 +32,7 @@ export class SubmitInput extends Component<SubmitInputProps, SubmitInputState> {
|
||||||
render() {
|
render() {
|
||||||
return <form onSubmit={this.onSubmit}>
|
return <form onSubmit={this.onSubmit}>
|
||||||
<input value={this.state.value}
|
<input value={this.state.value}
|
||||||
{...this.props}
|
type={this.props.type}
|
||||||
onChange={event => this.setState({value: event.currentTarget.value})}/>
|
onChange={event => this.setState({value: event.currentTarget.value})}/>
|
||||||
</form>;
|
</form>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue