Skip to content

Commit

Permalink
add plans page in naaar (#11921)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian authored Nov 14, 2024
1 parent 5d44889 commit 4cf9bb6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
29 changes: 28 additions & 1 deletion services/app-api/forms/naaar.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"name": "NAAAR Report Submission Form",
"basePath": "/naaar",
"version": "NAAAR_2024-08-06",
"entities": {},
"entities": {
"plans": { "required": true }
},
"routes": [
{
"name": "I. State and program information",
Expand Down Expand Up @@ -170,6 +172,31 @@
}
]
}
},
{
"name": "Add Plans",
"path": "/naaar/state-and-program-information/add-plans",
"pageType": "standard",
"verbiage": {
"intro": {
"section": "I. State and program information",
"subsection": "Add plans",
"info": "Enter the name of each plan that participates in the program for which the state is reporting data."
}
},
"form": {
"id": "iap",
"fields": [
{
"id": "plans",
"type": "dynamic",
"validation": "dynamic",
"props": {
"label": "Plan name"
}
}
]
}
}
]
},
Expand Down
3 changes: 3 additions & 0 deletions services/ui-src/src/components/fields/DynamicField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,5 +332,8 @@ const sx = {
},
textField: {
width: "100%",
label: {
marginTop: "0",
},
},
};

0 comments on commit 4cf9bb6

Please sign in to comment.