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

Fixes #6246: Permit full-length descriptions when creating device components and VM interfaces

This commit is contained in:
jeremystretch
2021-04-22 14:05:07 -04:00
parent 83f520f7a8
commit 396c91f8f7
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,13 @@
# NetBox v2.11 # NetBox v2.11
## v2.11.2 (FUTURE)
### Bug Fixes
* [#6246](https://github.com/netbox-community/netbox/issues/6246) - Permit full-length descriptions when creating device components and VM interfaces
---
## v2.11.1 (2021-04-21) ## v2.11.1 (2021-04-21)
### Enhancements ### Enhancements

View File

@ -2552,7 +2552,7 @@ class ComponentCreateForm(BootstrapMixin, CustomFieldForm, ComponentForm):
queryset=Device.objects.all() queryset=Device.objects.all()
) )
description = forms.CharField( description = forms.CharField(
max_length=100, max_length=200,
required=False required=False
) )
tags = DynamicModelMultipleChoiceField( tags = DynamicModelMultipleChoiceField(

View File

@ -683,7 +683,7 @@ class VMInterfaceCreateForm(BootstrapMixin, InterfaceCommonForm):
label='MAC Address' label='MAC Address'
) )
description = forms.CharField( description = forms.CharField(
max_length=100, max_length=200,
required=False required=False
) )
mode = forms.ChoiceField( mode = forms.ChoiceField(