Skip to content

Commit

Permalink
fix(c-form): do not require fish field
Browse files Browse the repository at this point in the history
django cms forms does not

multi-checkbox field cannot be required without javascript
  • Loading branch information
wesleyboar committed Dec 2, 2022
1 parent 65d5b48 commit b3cf650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/_imports/components/c-form/c-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@
</div>
</div>

<div class="c-form__field has-required">
<div class="c-form__field">
<ul class="c-form__errors" style="display:none;">
<li>Sample <strong>form</strong> error. <a href="#">Link.</a></li>
</ul>

<label for="">
Which fish do you want?<span class="c-form__star">*</span>
Which fish do you want?
</label>

<ul id="which-fish-do-you-want">
Expand Down

0 comments on commit b3cf650

Please sign in to comment.