Skip to content

Commit 58d5cf4

Browse files
type text for input
1 parent 074a47b commit 58d5cf4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ep16-new-css/app/components/App.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ export default class App extends React.Component {
5858
return <div>
5959
<h1> TODO </h1>
6060
<form onSubmit={this.handleSubmit.bind(this)}>
61-
<input onChange={this.handleChange.bind(this)} value={this.state.title} />
61+
<input type="text"
62+
onChange={this.handleChange.bind(this)}
63+
value={this.state.title} />
6264
<button> Submit </button>
6365
</form>
6466

0 commit comments

Comments
 (0)