min="1" for "Rows"

This commit is contained in:
Cody 2023-10-25 06:18:00 -07:00 committed by GitHub
parent 1698996ac3
commit 65b248c3cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@
<div class="row mb-1 align-items-center">
<Label Class="col-sm-3" For="rows" HelpText="The number of rows for text entry (one is the default)" ResourceKey="Rows">Rows: </Label>
<div class="col-sm-9">
<input id="rows" class="form-control" @bind="@_rows" maxlength="2" type="number" required />
<input id="rows" class="form-control" @bind="@_rows" maxlength="2" type="number" min="1" required />
</div>
</div>
<div class="row mb-1 align-items-center">