mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
DeviceForm.manufacturer should not be a required field
This commit is contained in:
parent
a208cbdf0b
commit
c14496d0c4
@ -1549,6 +1549,7 @@ class DeviceForm(BootstrapMixin, TenancyForm, CustomFieldModelForm):
|
|||||||
)
|
)
|
||||||
manufacturer = forms.ModelChoiceField(
|
manufacturer = forms.ModelChoiceField(
|
||||||
queryset=Manufacturer.objects.all(),
|
queryset=Manufacturer.objects.all(),
|
||||||
|
required=False,
|
||||||
widget=APISelect(
|
widget=APISelect(
|
||||||
api_url="/api/dcim/manufacturers/",
|
api_url="/api/dcim/manufacturers/",
|
||||||
filter_for={
|
filter_for={
|
||||||
|
Loading…
Reference in New Issue
Block a user