-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There used to be a separate model for custom field choices. This has now been collapsed, so a single CustomField model contains all the data about that custom field. Within that model, a single field I believe that the choices will be displayed in the order that you put them in that list - which makes the weights redundant, as weights were purely for sorting the list. Now you just give the list in whatever order you want. Does your experience show that is not the case? What Netbox version are you running? |
Beta Was this translation helpful? Give feedback.
There used to be a separate model for custom field choices. This has now been collapsed, so a single CustomField model contains all the data about that custom field. Within that model, a single field
choices
contains a comma-separated list of choice values.I believe that the choices will be displayed in the order that you put them in that list - which makes the weights redundant, as weights were purely for sorting the list. Now you just give the list in whatever order you want.
Does your experience show that is not the case? What Netbox version are you running?