Skip to content

Commit

Permalink
Modified election inputs data
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasAfara committed Jul 25, 2022
1 parent a758b8f commit 9494945
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/data/formInputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,24 +103,8 @@ export const addElectionInputs = [
required: true,
label: 'Election Year',
},
{
id: 2,
name: 'election_type',
type: 'text',
placeholder: 'Election Type',
required: true,
label: 'Election Type',
},
{
id: 3,
name: 'election_round',
type: 'text',
placeholder: 'Election Round',
required: true,
label: 'Election Round',
},
{
id: 4,
name: 'election_start',
type: 'date',
min: new Date().toISOString().slice(0, 10),
Expand All @@ -129,7 +113,7 @@ export const addElectionInputs = [
label: 'Election Start Date',
},
{
id: 5,
id: 4,
name: 'election_end',
type: 'date',
min: new Date().toISOString().slice(0, 10),
Expand Down

0 comments on commit 9494945

Please sign in to comment.