Commit 3476d5fe authored by ludo6577's avatar ludo6577

Set to enabled on rebuild when options is not empty and disableIfEmpty is true (issue: #494)

parent 8b201843
......@@ -1153,6 +1153,9 @@
if (this.options.disableIfEmpty && $('option', this.$select).length <= 0) {
this.disable();
}
else {
this.enable();
}
if (this.options.dropRight) {
this.$ul.addClass('pull-right');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment