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

Fix bulk nullification of custom fields

This commit is contained in:
jeremystretch
2022-02-01 11:05:48 -05:00
parent 3621b1a0d0
commit d38620bad2
3 changed files with 22 additions and 11 deletions

View File

@@ -36,10 +36,10 @@ class TenantGroupBulkEditForm(NetBoxModelBulkEditForm):
class TenantBulkEditForm(NetBoxModelBulkEditForm):
pk = forms.ModelMultipleChoiceField(
queryset=Tenant.objects.all(),
widget=forms.MultipleHiddenInput()
)
# pk = forms.ModelMultipleChoiceField(
# queryset=Tenant.objects.all(),
# widget=forms.MultipleHiddenInput()
# )
group = DynamicModelChoiceField(
queryset=TenantGroup.objects.all(),
required=False