Skip to content

Commit 07393cd

Browse files
marafCopilot
andcommitted
Wire OnDayClick to submit in ExpenseCreate wizard
Selecting a day in the ExpenseCreate calendar now triggers OnCreateClickAsync, submitting the form. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d4523b0 commit 07393cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Money.Blazor.Host/Components/ExpenseCreate.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
else if (Selected == SelectedField.When)
133133
{
134134
<Validation ErrorMessages="@Errors.When" />
135-
<CalendarPicker Id="expense-wiz-when" @bind-Value="When" />
135+
<CalendarPicker Id="expense-wiz-when" @bind-Value="When" OnDayClick="OnCreateClickAsync" />
136136
}
137137
</div>
138138
</ChildContent>

0 commit comments

Comments
 (0)