Skip to content

What is the difference between presetValue (fields.json)and _presetValue(ntds)? #1178

Answered by bertrand-lorentz
JanEmde asked this question in Q&A
Discussion options

You must be logged in to vote

See the section "Property names starting with underscore" towards the bottom of the documentation page at https://docs.ted.europa.eu/eforms/latest/notice-types/index.html

In short: "_presetValue" is in the NTD for your convenience, so that you don't have to look it up from fields.json.
The value will never be different from the one in fields.json, it comes from the same source (same column in our database).

Replies: 1 comment 1 reply

Comment options

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

Answer selected by bertrand-lorentz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
notice-types Related to the notice type definitions (/notice-types).
2 participants