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