CPV code list in the Notice editor #432
-
When I look at the field "Main classification" (BT-262-Lot) for notice type 16 in a local instance of the Notice editor, there are about 50 values in the dropdown. This field uses code list "cpv", which has many thousands of options. I can see all those option in a network request to http://localhost:8080/sdk/1.5/codelists/cpv.gc/lang/en |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This looks like a default limit in the UI. Note that version 1.7 will provide hierarchical data in the .gc file of CPV and NUTS (parentCode). |
Beta Was this translation helpful? Give feedback.
This looks like a default limit in the UI.
I did a search in the entire project for the number 50 (...) and found this:
...,maxOptions:50,...
in the code of tom-select javascript so you could tell tomselect to accept more values, with potential issues in the performance I suppose. This would be the proper solution.In the editor demo we do not support hierarchical selection yet and probably will not have a priority for this as the goal is not to redo something like enotices2. For demo purposes it is OK as long as you can select a value.
Note that version 1.7 will provide hierarchical data in the .gc file of CPV and NUTS (parentCode).
So if in the UI you want to do a nice two or more step …