From 76196dba73b0860119e02f5e1071472acf46cbe8 Mon Sep 17 00:00:00 2001 From: Joshua Baubry <36987491+JoshuaBaubry@users.noreply.github.com> Date: Fri, 2 Feb 2024 16:10:41 +0100 Subject: [PATCH] [DONE] Change minimum characters for Discipline and Channel select2 in video edit (#1045) * change minimum lenght on select2 for UX * revert space on a file --- pod/video/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/video/forms.py b/pod/video/forms.py index fb67dcbd7c..d55917faf2 100644 --- a/pod/video/forms.py +++ b/pod/video/forms.py @@ -982,8 +982,8 @@ class Meta(object): widgets = { "owner": OwnerWidget, "additional_owners": AddOwnerWidget, - "channel": ChannelWidget, - "discipline": DisciplineWidget, + "channel": ChannelWidget(attrs={'data-minimum-input-length': 0}), + "discipline": DisciplineWidget(attrs={'data-minimum-input-length': 0}), "date_evt": widgets.AdminDateWidget, "restrict_access_to_groups": AddAccessGroupWidget, "video": CustomClearableFileInput,