Skip to content

Commit

Permalink
Added: Select: Support for makeing selections mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
ffehring authored and ffehring committed Jun 25, 2024
1 parent 2762c6e commit d0f7c1a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sites/input/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,13 @@ <h3>Example 10: Clustering big subsets</h3>

<div id="select_example10_checkboxes" swa="Select FROM ../../data/input/select/exampleHierarchical.json TEMPLATE checkboxes"></div>

<h3>Example 11: Make a selection required</h3>
<p>If you want to make at least one selection required simply add the required attribute to the swa-DIV.</p>

<pre><code class="lang-html">
&lt;div id="select_example1" swa="Select FROM exampledata_list" required&gt;&lt;/div&gt;
</code></pre>

</article>
<footer>
<a href="../about/privacy.html">Privacy policy / Datenschutzerklärung</a>
Expand Down

0 comments on commit d0f7c1a

Please sign in to comment.