Adding the ExpenseEdit component
Explore adding the ExpenseEdit component in Blazor WebAssembly to enable users to add and edit expenses. Understand how to initialize components, handle form submissions, and implement validation with EditForm for a functional expense tracker.
We'll cover the following...
We'll cover the following...
We need to add a component to enable us to add and edit expenses. We do this as follows:
Return to Visual Studio.
Open the
ExpenseTracker.Client.Shared\NavMenu.razorpage.Add the following markup to the
ulelement: