Skip to content

Commit

Permalink
added name attribute to suggestion form
Browse files Browse the repository at this point in the history
  • Loading branch information
SeHarlan committed Sep 7, 2020
1 parent 735c9a4 commit 4662bbc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Forms/SuggestionBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export default function SuggestionBox() {
<Input
value={topic}
id="topic"
name="topic"
type="text"
placeholder="e.g. Business, Functionality, New Feature"
onChange={event => setTopic(event.currentTarget.value)}
Expand All @@ -127,6 +128,7 @@ export default function SuggestionBox() {
<Textarea
value={description}
id="description"
name="description"
placeholder="Description"
onChange={event => setDescription(event.currentTarget.value)}
/>
Expand All @@ -139,6 +141,7 @@ export default function SuggestionBox() {
<Textarea
value={benefits}
id="benefits"
name="benefits"
placeholder="Benefits"
onChange={event => setBenefits(event.currentTarget.value)}
/>
Expand All @@ -150,6 +153,7 @@ export default function SuggestionBox() {
</FormLabel>
<NumberInput
id="urgency"
name="urgency"
type="number"
min={1}
max={5}
Expand All @@ -170,6 +174,7 @@ export default function SuggestionBox() {
<Input
value={name}
id="name"
name="name"
type="text"
placeholder="Name"
onChange={event => setName(event.currentTarget.value)}
Expand All @@ -180,6 +185,7 @@ export default function SuggestionBox() {
<Input
value={email}
id="email"
name="email"
type="text"
placeholder="Email"
onChange={event => setEmail(event.currentTarget.value)}
Expand Down

0 comments on commit 4662bbc

Please sign in to comment.