Skip to content

Commit

Permalink
If bt-selectpicker did work, this would need to be form-select
Browse files Browse the repository at this point in the history
  • Loading branch information
liamkeily committed Jan 22, 2024
1 parent b28f5bf commit 7fe0a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/bt-selectpicker/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ QueryBuilder.define('bt-selectpicker', function(options) {

// init selectpicker
this.on('afterCreateRuleFilters', function(e, rule) {
rule.$el.find(Selectors.rule_filter).removeClass('form-control').selectpicker(options);
rule.$el.find(Selectors.rule_filter).removeClass('form-select').selectpicker(options);
});

this.on('afterCreateRuleOperators', function(e, rule) {
rule.$el.find(Selectors.rule_operator).removeClass('form-control').selectpicker(options);
rule.$el.find(Selectors.rule_operator).removeClass('form-select').selectpicker(options);
});

// update selectpicker on change
Expand Down

0 comments on commit 7fe0a47

Please sign in to comment.