Requiring player name and game name.

logins
Thomas Hintz 5 years ago
parent 19c753fa60
commit 7c57682d3d

@ -119,6 +119,7 @@ class NewGame extends React.Component {
<Col width='12'>
<label>Game Name
<input type='text' name='gameName' value={this.state.gameName}
required
onChange={this.handleInputChange} />
</label>
</Col>
@ -134,6 +135,7 @@ class NewGame extends React.Component {
<Col width='12'>
<label>Your Name
<input type='text' name='playerName'
required
value={this.state.playerName}
onChange={this.handleInputChange} />
</label>

Loading…
Cancel
Save