mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-20 17:47:58 +02:00
Merge branch 'main' of https://uhurusurfa@github.com/django-helpdesk/django-helpdesk.git into fix_cc_crash_when_duplicate_emails
This commit is contained in:
commit
13c18e8126
@ -127,6 +127,11 @@ class EditTicketForm(CustomFieldMixin, forms.ModelForm):
|
||||
"""
|
||||
super(EditTicketForm, self).__init__(*args, **kwargs)
|
||||
|
||||
# Since title is max 100 characters limit it in editing
|
||||
if "title" in self.fields:
|
||||
self.fields["title"].max_length = 100
|
||||
self.fields["title"].widget.attrs["maxlength"] = 100
|
||||
|
||||
# Disable and add help_text to the merged_to field on this form
|
||||
self.fields["merged_to"].disabled = True
|
||||
self.fields["merged_to"].help_text = _(
|
||||
|
Loading…
x
Reference in New Issue
Block a user