summaryrefslogtreecommitdiff
path: root/Views/Bundles
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-02-16 14:02:54 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-02-16 14:02:54 +0300
commitaa5e64754bcd7c4d25546e773c42eacec04da5fe (patch)
tree6d2d8e5b4cfcf40c71a16822c563bc78369a3fe9 /Views/Bundles
parentdc58f242fa20f89cdbb0f4b80138be04c3e50c2e (diff)
Add number validation for input
Diffstat (limited to 'Views/Bundles')
-rw-r--r--Views/Bundles/Add.cshtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Views/Bundles/Add.cshtml b/Views/Bundles/Add.cshtml
index 81b3061..36b329b 100644
--- a/Views/Bundles/Add.cshtml
+++ b/Views/Bundles/Add.cshtml
@@ -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>