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 3a7fc40734
commit 0150e94641

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(