Skip to content

Commit 5c9ec66

Browse files
committed
Add name to the input
1 parent d6b2712 commit 5c9ec66

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/form/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export default props => {
6161
<Input
6262
component="input"
6363
type="name"
64+
name="name"
6465
value={name}
6566
onChange={onChangeName}
6667
required
@@ -70,6 +71,7 @@ export default props => {
7071
<Input
7172
component="input"
7273
type="email"
74+
name="email"
7375
value={email}
7476
onChange={onChangeEmail}
7577
required
@@ -79,6 +81,7 @@ export default props => {
7981
<Input
8082
component="input"
8183
type="text"
84+
name="city"
8285
value={city}
8386
onChange={onChangeCity}
8487
required
@@ -87,6 +90,7 @@ export default props => {
8790

8891
<Input
8992
required
93+
name="message"
9094
component="textarea"
9195
value={message}
9296
onChange={onChangeMessage}

0 commit comments

Comments
 (0)