Skip to content

Commit 4662bbc

Browse files
committed
added name attribute to suggestion form
1 parent 735c9a4 commit 4662bbc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/Forms/SuggestionBox.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export default function SuggestionBox() {
114114
<Input
115115
value={topic}
116116
id="topic"
117+
name="topic"
117118
type="text"
118119
placeholder="e.g. Business, Functionality, New Feature"
119120
onChange={event => setTopic(event.currentTarget.value)}
@@ -127,6 +128,7 @@ export default function SuggestionBox() {
127128
<Textarea
128129
value={description}
129130
id="description"
131+
name="description"
130132
placeholder="Description"
131133
onChange={event => setDescription(event.currentTarget.value)}
132134
/>
@@ -139,6 +141,7 @@ export default function SuggestionBox() {
139141
<Textarea
140142
value={benefits}
141143
id="benefits"
144+
name="benefits"
142145
placeholder="Benefits"
143146
onChange={event => setBenefits(event.currentTarget.value)}
144147
/>
@@ -150,6 +153,7 @@ export default function SuggestionBox() {
150153
</FormLabel>
151154
<NumberInput
152155
id="urgency"
156+
name="urgency"
153157
type="number"
154158
min={1}
155159
max={5}
@@ -170,6 +174,7 @@ export default function SuggestionBox() {
170174
<Input
171175
value={name}
172176
id="name"
177+
name="name"
173178
type="text"
174179
placeholder="Name"
175180
onChange={event => setName(event.currentTarget.value)}
@@ -180,6 +185,7 @@ export default function SuggestionBox() {
180185
<Input
181186
value={email}
182187
id="email"
188+
name="email"
183189
type="text"
184190
placeholder="Email"
185191
onChange={event => setEmail(event.currentTarget.value)}

0 commit comments

Comments
 (0)