mange disabled attr on source element. fixes #427
This commit is contained in:
parent
3cc79b410c
commit
93ed30d67a
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue