0
0

Add number validation for input

This commit is contained in:
Sergey Chebotar 2023-02-16 14:02:54 +03:00
parent dc58f242fa
commit aa5e64754b

View File

@ -23,7 +23,7 @@
</div>
<div class="form-group">
<label asp-for="Price" class="form-label">Price:</label>
<input asp-for="Price" class="form-control" />
<input asp-for="Price" type="number" class="form-control" />
</div>
<button type="submit" class="btn btn-primary mt-3">Submit</button>
</form>