Skip to content

Commit

Permalink
✨ [#4606] Implement frontend to select document type from case type
Browse files Browse the repository at this point in the history
Once a case type is selected, the available document type options are
fetched from the backend and we only store the 'description' field
value in the configuration options.
  • Loading branch information
sergei-maertens committed Nov 11, 2024
1 parent 3f0a131 commit 22a0b62
Show file tree
Hide file tree
Showing 15 changed files with 466 additions and 268 deletions.
194 changes: 86 additions & 108 deletions src/openforms/js/compiled-lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,40 +131,6 @@
"value": "Set the text of the 'Save row' button."
}
],
"/vM+b5": [
{
"type": 1,
"value": "description"
},
{
"type": 0,
"value": " "
},
{
"options": {
"false": {
"value": [
{
"children": [
{
"type": 0,
"value": "(not published)"
}
],
"type": 8,
"value": "draft"
}
]
},
"other": {
"value": [
]
}
},
"type": 5,
"value": "isPublished"
}
],
"/yDnA3": [
{
"type": 0,
Expand Down Expand Up @@ -1411,6 +1377,12 @@
"value": "Data extraction"
}
],
"C2FSDV": [
{
"type": 0,
"value": "Documents produced in the form submission are registered with this document type, unless more fine grained configuration is available. Only document types available on the selected case type are shown."
}
],
"C48xJT": [
{
"type": 0,
Expand Down Expand Up @@ -2621,6 +2593,12 @@
"value": "Case type API resource URL in the Catalogi API."
}
],
"NrF5vy": [
{
"type": 0,
"value": "Document type"
}
],
"Nsifca": [
{
"type": 0,
Expand Down Expand Up @@ -3273,40 +3251,6 @@
"value": "All Submissions Removal Limit"
}
],
"UOofxD": [
{
"type": 1,
"value": "omschrijving"
},
{
"type": 0,
"value": " "
},
{
"options": {
"false": {
"value": [
{
"children": [
{
"type": 0,
"value": "(not published)"
}
],
"type": 8,
"value": "draft"
}
]
},
"other": {
"value": [
]
}
},
"type": 5,
"value": "isPublished"
}
],
"UlVtQd": [
{
"type": 0,
Expand Down Expand Up @@ -4101,12 +4045,6 @@
"value": "Incomplete Submissions Removal Limit"
}
],
"cEALcN": [
{
"type": 0,
"value": "Configure options"
}
],
"cID9dz": [
{
"type": 0,
Expand Down Expand Up @@ -4441,6 +4379,40 @@
"value": "Add column"
}
],
"efsF8+": [
{
"type": 1,
"value": "label"
},
{
"type": 0,
"value": " "
},
{
"options": {
"false": {
"value": [
{
"children": [
{
"type": 0,
"value": "(not published)"
}
],
"type": 8,
"value": "draft"
}
]
},
"other": {
"value": [
]
}
},
"type": 5,
"value": "isPublished"
}
],
"eg8uKC": [
{
"type": 0,
Expand Down Expand Up @@ -4871,6 +4843,12 @@
"value": "Success"
}
],
"ighCxq": [
{
"type": 0,
"value": "Plugin configuration: MS Graph"
}
],
"inhTXo": [
{
"type": 0,
Expand Down Expand Up @@ -5761,6 +5739,40 @@
"value": "Data type"
}
],
"rGLOtz": [
{
"type": 1,
"value": "label"
},
{
"type": 0,
"value": " "
},
{
"options": {
"false": {
"value": [
{
"children": [
{
"type": 0,
"value": "(not published)"
}
],
"type": 8,
"value": "draft"
}
]
},
"other": {
"value": [
]
}
},
"type": 5,
"value": "isPublished"
}
],
"rQy+Yq": [
{
"type": 0,
Expand Down Expand Up @@ -5833,40 +5845,6 @@
"value": "Enable to attach file uploads to the registration email. If set, this overrides the global default. Form designers should take special care to ensure that the total file upload sizes do not exceed the email size limit."
}
],
"sQpH2P": [
{
"offset": 0,
"options": {
"one": {
"value": [
{
"type": 0,
"value": "There is a validation error."
}
]
},
"other": {
"value": [
{
"type": 0,
"value": "There are "
},
{
"type": 1,
"value": "numErrors"
},
{
"type": 0,
"value": " validation errors."
}
]
}
},
"pluralType": "cardinal",
"type": 6,
"value": "numErrors"
}
],
"sR9GVQ": [
{
"type": 0,
Expand Down
Loading

0 comments on commit 22a0b62

Please sign in to comment.