mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2026-11-16 19:01:48 +01:00
archivist: enum dropdowns on the official values, template as enum
- buildEnumControl offers only the official select values plus the
"Ajouter une valeur…" entry; the entry opens a modal that registers
the value through POST /api/archivist/fields/{field}/values, then
selects it (US-37)
- the free-text fallback input is gone; a value unknown to the list
(e.g. a pipeline proposal) appears as a temporary option registered
by the correction or the import path
- config.jsonc declares "template" as enum so its select list is
managed by the application and always equals the template names
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{ "name": "emittingCompany", "type": "text", "mandatory": true },
|
||||
{ "name": "documentType", "type": "enum", "mandatory": true },
|
||||
{ "name": "emissionDate", "type": "date", "mandatory": true },
|
||||
{ "name": "template", "type": "text", "mandatory": false },
|
||||
{ "name": "template", "type": "enum", "mandatory": false },
|
||||
{ "name": "bankAccount", "type": "enum", "mandatory": false },
|
||||
{ "name": "address", "type": "text", "mandatory": false },
|
||||
{ "name": "reference", "type": "text", "mandatory": false }
|
||||
|
||||
Reference in New Issue
Block a user