Skip to content

Commit

Permalink
fix(label): only show requiredness indicator if a label is given
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Sep 20, 2022
1 parent 46b19de commit 72c212d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/validated-input/label.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
for={{@inputId}}
...attributes
>
{{yield}}{{@label}}{{if @required " *"}}
{{yield}}{{@label}}{{if (and @label @required) " *"}}
</label>

0 comments on commit 72c212d

Please sign in to comment.