added todo for placeholder validation
This commit is contained in:
parent
c87e5706e7
commit
b034a55884
@ -1052,6 +1052,9 @@
|
|||||||
prepareOpts: function () {
|
prepareOpts: function () {
|
||||||
var opts = this.parent.prepareOpts.apply(this, arguments);
|
var opts = this.parent.prepareOpts.apply(this, arguments);
|
||||||
|
|
||||||
|
|
||||||
|
// TODO validate placeholder is a string if specified
|
||||||
|
|
||||||
if (opts.element.get(0).tagName.toLowerCase() === "select") {
|
if (opts.element.get(0).tagName.toLowerCase() === "select") {
|
||||||
// install sthe selection initializer
|
// install sthe selection initializer
|
||||||
this.opts.initSelection = function (element) {
|
this.opts.initSelection = function (element) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user