Adding a FIELD_CHOICES doesn't work correctly. #14038
Answered
by
DanSheps
damo2929
asked this question in
Help Wanted!
-
NetBox versionv3.6.3 Python version3.10 Steps to ReproduceI am trying to add additional status values to vlan I have added the following to configuration.py then systemctl restart netbox netbox-rq Expected Behaviorexpected behaviour is that when opening vlan that the new planned status is on the list. Observed Behaviorinstead of the new planned status I get 3 lines with | instead |
Beta Was this translation helpful? Give feedback.
Answered by
DanSheps
Oct 13, 2023
Replies: 1 comment 2 replies
-
Try (comma at the end of the choices): FIELD_CHOICES = {
'ipam.VLAN.status+': (
('planned' , 'Planned' , 'blue'),
)
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
damo2929
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try (comma at the end of the choices):