Skip to content

Implement get_display_value on all field types where necessary #73

@mrmrcoleman

Description

@mrmrcoleman

Plugin Version

commit de5e8c0 (HEAD -> public-preview, origin/public-preview)

NetBox Version

v4.2.8-Docker-3.2.0

Python Version

3.12

Steps to Reproduce

  • Create a set of Custom Field Choices A with [1, 2]
  • Create a Custom Object Type X
  • Add a multi-selection field to X
  • Create a Custom Object of type X, Y
  • Edit the multi-selection field on Y and select both 1 and 2
  • Look at the detail view of the Custom Object type Y

Expected Behavior

As this is the only field on the Custom Object Type, it is selected as the Primary

I would therefore expect the "name" of the Custom Object to be 1, 2

Observed Behavior

The "name" of the Custom Object in the detail view is ['1', '2']

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions