Add number validation for input
This commit is contained in:
parent
dc58f242fa
commit
aa5e64754b
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user