21 lines
612 B
Plaintext
21 lines
612 B
Plaintext
<div class="input-group input-group-sm">
|
|
<input @bind-value="numRecord" @bind-value:event="oninput" type="text" class="form-control" />
|
|
<div class="input-group-append">
|
|
<button @onclick="reportChange" class="btn btn-success input-group-text"># record</button>
|
|
@*<span class="input-group-text"># record</span>*@
|
|
</div>
|
|
</div>
|
|
|
|
@code {
|
|
|
|
[Parameter]
|
|
public int numRecord { get; set; } = 10;
|
|
|
|
[Parameter]
|
|
public EventCallback<int> numRecordChanged { get; set; }
|
|
|
|
private async Task reportChange()
|
|
{
|
|
await numRecordChanged.InvokeAsync(numRecord);
|
|
}
|
|
} |