mange disabled attr on source element. fixes #427
This commit is contained in:
parent
3cc79b410c
commit
93ed30d67a
@ -855,6 +855,7 @@
|
||||
|
||||
this.enabled=true;
|
||||
this.container.removeClass("select2-container-disabled");
|
||||
this.opts.element.removeAttr("disabled");
|
||||
},
|
||||
|
||||
// abstract
|
||||
@ -865,6 +866,7 @@
|
||||
|
||||
this.enabled=false;
|
||||
this.container.addClass("select2-container-disabled");
|
||||
this.opts.element.attr("disabled", "disabled");
|
||||
},
|
||||
|
||||
// abstract
|
||||
|
Loading…
Reference in New Issue
Block a user