Commit cf178c41 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Make dropdown label active if items are selected

parent 4325e1f5
......@@ -251,6 +251,8 @@
label.push(this.defaultLabel);
}
this.$dropdown.find('.dropdown-toggle-text').toggleClass('is-default', !!currentItems.length);
return label.join(', ');
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment