From 1909f0c7330d3f3c4e5c5a52735d8412d023beb5 Mon Sep 17 00:00:00 2001 From: Stefan de Kooter Date: Tue, 31 Aug 2021 21:17:50 +0200 Subject: [PATCH] Fix #7090: Cable Bulk Edit, length field should be decimal --- netbox/dcim/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index b69944cf6..7fcd2a6b2 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -4586,8 +4586,8 @@ class CableBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldModelBulkE color = ColorField( required=False ) - length = forms.IntegerField( - min_value=1, + length = forms.DecimalField( + min_value=0, required=False ) length_unit = forms.ChoiceField(