Add number validation for input
This commit is contained in:
parent
dc58f242fa
commit
aa5e64754b
@ -23,7 +23,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="Price" class="form-label">Price:</label>
|
<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>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary mt-3">Submit</button>
|
<button type="submit" class="btn btn-primary mt-3">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user