mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #8976: Add missing object_type field on CustomField REST API serializer
This commit is contained in:
@ -48,6 +48,10 @@ class CustomFieldForm(BootstrapMixin, forms.ModelForm):
|
||||
class Meta:
|
||||
model = CustomField
|
||||
fields = '__all__'
|
||||
help_texts = {
|
||||
'type': "The type of data stored in this field. For object/multi-object fields, select the related object "
|
||||
"type below."
|
||||
}
|
||||
widgets = {
|
||||
'type': StaticSelect(),
|
||||
'filter_logic': StaticSelect(),
|
||||
|
Reference in New Issue
Block a user