diff --git a/js/bootstrap-combobox.js b/js/bootstrap-combobox.js index af5dc0d..42931f9 100755 --- a/js/bootstrap-combobox.js +++ b/js/bootstrap-combobox.js @@ -97,6 +97,9 @@ , transferAttributes: function() { this.options.placeholder = this.$source.attr('data-placeholder') || this.options.placeholder + if(this.options.appendId !== "undefined") { + this.$element.attr('id', this.$source.attr('id') + this.options.appendId); + } this.$element.attr('placeholder', this.options.placeholder) this.$target.prop('name', this.$source.prop('name')) this.$target.val(this.$source.val())