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
EditForm
to inputDate
:
Press + to interact
<div><label>Date<InputDate @bind-Value="expense.Date"class="form-control" /></label></div>
Add the following markup to
EditForm
to inputVendor
...