Skip to content

Commit

Permalink
Fixed validation messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyButland committed Jun 6, 2023
1 parent 9b5847a commit e7304d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
type="radio"
value="@color"
data-val="true"
data-val-required="Please select at least one animal"
data-val-required="Please select a color"
data-rule-required="true"
data-msg-required="Please select at least one animal"
data-msg-required="Please select a color"
@if (Model.SelectedColor == color) { <text>checked</text> } />
<label>@color</label>
}
Expand Down

0 comments on commit e7304d4

Please sign in to comment.