Open
Description
When adding a validation attribute, you can specify the ErrorMessage
. This message can be added to the input as a title
attribute and displayed to the user.
<div class="form-group mb-2">
<label asp-for="Name"></label>
<input asp-for="Name" type="text" class="form-control"
title="Must be Khalid or RoboCop"
pattern="(Khalid|RoboCop)">
</div>
Metadata
Assignees
Labels
No labels