Skip to content

BT-722-Contract mismatch definition ? #411

Answered by rouschr
rengit62 asked this question in Q&A
Discussion options

You must be logged in to vote

The message with:
TypeError: this.formElement.populate is not a function at CodeInputField.populate (notice-type-definition.js:457:22)
looks like a bug.
For the field "BT-722-Contract" (of type code) the codelist is "eu-programme".
In the NTD 25 we have:

    "id" : "BT-722-Contract",
            "contentType" : "field",
            "displayType" : "TEXTAREA",
            "description" : "Contract EU Funds Programme",
            "_label" : "field|name|BT-722-Contract"

TEXTAREA
So here the NTD (notice-types definition data) is faulty, and as we are now aware of this, we will change this and similar cases from TEXTAREA to COMBOBOX to avoid this problem.
Probably something to change for the…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rouschr
Comment options

Comment options

You must be logged in to vote
1 reply
@YvesJo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rouschr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
fields Related to field metadata (/fields/fields.json) codelists Related to SDK codelists (/codelists folder) notice-types Related to the notice type definitions (/notice-types).
3 participants