-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Story
ref: https://assaydepot.slack.com/archives/C03FZDALABG/p1707497250962569
we need to account for the various types that are available as a dynamic form option so that the new request form renders properly. e.g.
"dynamic_forms": [
{
...,
"schema": {
...,
"job_description": {
"type": "array",
"title": "15. Please include a job description for the role if available."
}
},
"options": {
"fields": {
...,
"job_description": {
"type": "upload", <<<
"hideNone": true,
"sort": false
}
},
}
}
]
right now, the configureDynamicFormSchema function assumes that the required and dependencies properties will be present on each schema field. they may not be however. currently, when they are not present, they throw an error. so far I've seen that happen when the type for a property is upload, e.g. options.job_description.type. it may need to be accounted for other types too however.
Acceptance Criteria
- radio
- checkbox
- select
- textarea
- text
- date
- upload
Screenshots / Video
Testing Instructions and Sample Files
Notes
Metadata
Metadata
Assignees
Labels
No labels