1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix #7090: Cable Bulk Edit, length field should be decimal

This commit is contained in:
Stefan de Kooter
2021-08-31 21:17:50 +02:00
parent db2993035d
commit 1909f0c733

View File

@@ -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(