Explorar o código

added todo for placeholder validation

Igor Vaynberg %!s(int64=13) %!d(string=hai) anos
pai
achega
b034a55884
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      select2.js

+ 3 - 0
select2.js

@@ -1052,6 +1052,9 @@
         prepareOpts: function () {
             var opts = this.parent.prepareOpts.apply(this, arguments);
 
+
+            // TODO validate placeholder is a string if specified
+
             if (opts.element.get(0).tagName.toLowerCase() === "select") {
                 // install sthe selection initializer
                 this.opts.initSelection = function (element) {