Skip to content

Commit 829b8c7

Browse files
committed
Changed default text for min number of characters.
Use to read: Please enter 3 more characters. Now reads: Please enter 3 or more characters.
1 parent f0b25ef commit 829b8c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3256,7 +3256,7 @@ the specific language governing permissions and limitations under the Apache Lic
32563256
formatResultCssClass: function(data) {return data.css;},
32573257
formatSelectionCssClass: function(data, container) {return undefined;},
32583258
formatNoMatches: function () { return "No matches found"; },
3259-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1? "" : "s"); },
3259+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " or more character" + (n == 1? "" : "s"); },
32603260
formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1? "" : "s"); },
32613261
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
32623262
formatLoadMore: function (pageNumber) { return "Loading more results…"; },

0 commit comments

Comments
 (0)