mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Converted to a single column for value storage
This commit is contained in:
@ -44,7 +44,7 @@ def get_custom_fields_for_model(content_type, bulk_editing=False):
|
||||
|
||||
# Text
|
||||
else:
|
||||
field = forms.CharField(max_length=100, required=cf.required, initial=cf.default)
|
||||
field = forms.CharField(max_length=255, required=cf.required, initial=cf.default)
|
||||
|
||||
field.model = cf
|
||||
field.label = cf.label if cf.label else cf.name.capitalize()
|
||||
|
Reference in New Issue
Block a user