Skip to content

decimal custom field - value of 0.0 shows as if field is unset #21518

@ITJamie

Description

@ITJamie

NetBox Edition

NetBox Community

NetBox Version

v4.5.3

Python Version

3.12

Steps to Reproduce

1: create a custom field of type decimal. eg "purchase value" and assign it to device object.
2: create a device. set the value of the custom field to 0.0
3: goto the device view page /dcim/devices/1

Expected Behavior

"Purchase Value" custom field should show as 0.0

Observed Behavior

"Purchase Value" custom field shows with the dashes that normally implies an unset field

Image

Metadata

Metadata

Assignees

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions