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
No known key found for this signature in database
GPG Key ID: 340B95E679E5217B

View File

@ -4586,8 +4586,8 @@ class CableBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldModelBulkE
color = ColorField( color = ColorField(
required=False required=False
) )
length = forms.IntegerField( length = forms.DecimalField(
min_value=1, min_value=0,
required=False required=False
) )
length_unit = forms.ChoiceField( length_unit = forms.ChoiceField(