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:

  1. Add the following markup to EditForm to input Date:

Press + to interact
<div>
<label>
Date
<InputDate @bind-Value="expense.Date"class="form-control" />
</label>
</div>
  1. Add the following markup to EditForm to input Vendor ...