We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7e14c commit 0c64a2fCopy full SHA for 0c64a2f
js/bootstrap-combobox.js
@@ -54,15 +54,17 @@
54
}
55
56
, disable: function() {
57
- this.$element.prop('disabled', true)
58
- this.$button.attr('disabled', true)
59
- this.disabled = true
+ this.$element.prop('disabled', true);
+ this.$button.attr('disabled', true);
+ this.disabled = true;
60
+ this.$container.addClass('combobox-disabled');
61
62
63
, enable: function() {
- this.$element.prop('disabled', false)
64
- this.$button.attr('disabled', false)
65
- this.disabled = false
+ this.$element.prop('disabled', false);
+ this.$button.attr('disabled', false);
66
+ this.disabled = false;
67
+ this.$container.removeClass('combobox-disabled');
68
69
, parse: function () {
70
var that = this
0 commit comments