Explorar el Código

Merge pull request #3000 from lenon/fix-maxlength

Fix for MaximumInputLength
Kevin Brown hace 10 años
padre
commit
1a7bb5fb54
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/js/select2/data/maximumInputLength.js

+ 1 - 1
src/js/select2/data/maximumInputLength.js

@@ -15,7 +15,7 @@ define([
       this.trigger('results:message', {
         message: 'inputTooLong',
         args: {
-          minimum: this.maximumInputLength,
+          maximum: this.maximumInputLength,
           input: params.term,
           params: params
         }