Skip to content

Commit

Permalink
feat: add totalFundingRequest to project form
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Jan 14, 2022
1 parent ec68fae commit 8444cec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/components/Form/ProjectForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const ProjectForm: React.FC<Props> = (props) => {
"summary",
"operatorId",
"fundingStreamRfpId",
"totalFundingRequest",
],
properties: {
rfpNumber: {
Expand All @@ -57,6 +58,7 @@ const ProjectForm: React.FC<Props> = (props) => {
pattern: "^((\\d{4})-RFP-([1-2])-(\\d{3,4})-([A-Z]{4}))$",
},
projectName: { type: "string", title: "Project Name" },
totalFundingRequest: { type: "number", title: "Total Funding Request", default: 0 },
summary: { type: "string", title: "Summary" },
operatorId: {
type: "number",
Expand Down Expand Up @@ -100,6 +102,11 @@ const ProjectForm: React.FC<Props> = (props) => {
"ui:col-md": 12,
"bcgov:size": "small",
},
totalFundingRequest: {
"ui:widget": "MoneyWidget",
"ui:col-md": 12,
"bcgov:size": "small",
},
summary: {
"ui:col-md": 12,
"ui:widget": "TextAreaWidget",
Expand Down

0 comments on commit 8444cec

Please sign in to comment.