-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.1.0
Python version
3.9
Steps to Reproduce
- Go to "Custom Fields" -> "Add a new custom field".
- Choose "Type" "Integer", fill required details and also put "0" in "Minimum value". You may also put some other value in "Maximum value".
- Press "Create" and go to newly created "Custom Field" view (eg: /extras/custom-fields/1/).
- You will see that maximum value shows number but minimum value shows "—" instead of "0".
- Only if you click "Edit" you can confirm that "Minimum value" holds "0" in real.
Expected Behavior
Netbox should show real value stored in the field -> "0" instead of "—" which indicates that no value was input which is not true.
Observed Behavior
Netbox shows "—" instead of "0" which is counter-intuitive. Other fields with data entered just shows that data. Other fields without any data just shows "—". User can not say if the "Minimum value" holds "0" or does not hold any value at all until he clicks "Edit" button.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application