Skip to content

Commit

Permalink
closes #376 adjust min length before autocompleting schools
Browse files Browse the repository at this point in the history
  • Loading branch information
btbonval committed Oct 12, 2014
1 parent 3fb9188 commit 1e6e409
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions karmaworld/apps/courses/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class DepartmentForm(NiceErrorModelForm, ACFieldModelForm):
# first argument is ajax channel name, defined in models as LookupChannel.
school = AutoCompleteSelectField('school_object_by_name',
help_text='',
plugin_options={'minLength': 3},
label=mark_safe('School <span class="required-field">(required)</span>'))
# first argument is ajax channel name, defined in models as LookupChannel.
name = AutoCompleteDependentSelectField(
Expand Down

0 comments on commit 1e6e409

Please sign in to comment.