Skip to content

Commit

Permalink
Added FAQ for #475.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstutz committed Mar 1, 2015
1 parent 7ee176a commit 8b20184
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4201,6 +4201,16 @@ <h2 id="faq">Frequently Asked Questions</h2>
<dd>
This is a general issue not directly related to Bootstrap Multiselect: <a href="https://github.com/davidstutz/bootstrap-multiselect/issues/455">#455</a>.
</dd>

<dt>How do add icons to the options (<a href="https://github.com/davidstutz/bootstrap-multiselect/issues/475">#475</a>)?</dt>
<dd>
Adapt the <code>optionLabel</code> option as follows:
<pre class="prettyprint linenums">
optionLabel: function(element){
return $(element).attr('label') || $(element).html();
},
</pre>
</dd>
</dl>

<div class="page-header">
Expand Down

0 comments on commit 8b20184

Please sign in to comment.