Skip to content

Commit

Permalink
#347.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstutz committed Jul 14, 2014
1 parent f170429 commit d887a6b
Showing 2 changed files with 26 additions and 2 deletions.
14 changes: 13 additions & 1 deletion index-2-3.html
Original file line number Diff line number Diff line change
@@ -2327,10 +2327,22 @@ <h1><a id="faq"></a>Frequently Asked Questions</h1>
<p>
A related issue is discussed <a href="https://github.com/davidstutz/bootstrap-multiselect/issues/205" target="_blank">here</a> and includes a possible solution when using CSS to hide the checkboxes:
</p>
<pre>
<pre class="prettyprint linenums">
.multiselect-container input {
display: none
}
</pre>

<p>
<b>How to use Bootstrap Multiselect using <code>$.validate</code>?</b>
</p>
<p>
This topic is discussed in issue <a href="https://github.com/davidstutz/bootstrap-multiselect/issues/347">#347</a>. The fix suggested is as follows:
</p>
<pre class="prettyprint linenums">
var $form = $("#myForm");
var validator = $form.data('validator');
validator.settings.ignore = ':hidden:not(".multiselect")';
</pre>
</div>

14 changes: 13 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -2405,10 +2405,22 @@ <h1><a id="faq"></a>Frequently Asked Questions</h1>
<p>
A related issue is discussed <a href="https://github.com/davidstutz/bootstrap-multiselect/issues/205" target="_blank">here</a> and includes a possible solution when using CSS to hide the checkboxes:
</p>
<pre>
<pre class="prettyprint linenums">
.multiselect-container input {
display: none
}
</pre>

<p>
<b>How to use Bootstrap Multiselect using <code>$.validate</code>?</b>
</p>
<p>
This topic is discussed in issue <a href="https://github.com/davidstutz/bootstrap-multiselect/issues/347">#347</a>. The fix suggested is as follows:
</p>
<pre class="prettyprint linenums">
var $form = $("#myForm");
var validator = $form.data('validator');
validator.settings.ignore = ':hidden:not(".multiselect")';
</pre>
</div>

0 comments on commit d887a6b

Please sign in to comment.