Change CustomFieldChoiceSet label separator from comma to colon #14467
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v3.6.6
Feature type
Change to existing functionality
Proposed functionality
Change the CustomFieldChoiceSet label separator from a comma to a colon. Right now for CustomFieldChoiceSets the extra_choices uses a comma to separate out the label from the value for input:
This FR would change it to be a colon.
Use case
From working on #13983 this allows nested arrays of these label,value in the CSV import, however commas are default separators for both CSV and the ArrayField. The commas are not stored anywhere they are just used to split the string, so changing to a colon should have no adverse effect and would allow not only easier and less confusing input of data for users, but would make the code simpler as well.
Database changes
None
External dependencies
None
The text was updated successfully, but these errors were encountered: