Adding the Input Components
Learn how to add input components in the EditForm component.
We'll cover the following...
We need to add input components to the EditForm element. We do this as follows:
Add the following markup to
EditFormto inputDate:
Press + to interact
<div><label>Date<InputDate @bind-Value="expense.Date"class="form-control" /></label></div>
Add the following markup to
EditFormto inputVendor:
Press + to interact
<div><label class="d-block">Vendor<InputText @bind-Value="expense.Vendor" class="form-control" /></label></div>
...
Ask