Update Calendar component to use two-way binding for view and current day properties

This commit modifies the Calendar component to implement two-way binding for the View and CurrentDay properties of the MudCalendar. By using `@bind-View` and `@bind-CurrentDay`, the component enhances data synchronization between the UI and underlying state, improving user interaction and responsiveness. This change aligns with ongoing efforts to refine the user experience in the calendar feature.
This commit is contained in:
2026-01-26 21:47:06 -05:00
parent 840a8edbf1
commit d0ce71397b
@@ -37,8 +37,8 @@
<MudCalendar T="CalendarItemWrapper"
Items="_calendarItems"
View="_currentView"
CurrentDay="@_calendarDate"
@bind-View="_currentView"
@bind-CurrentDay="_calendarDate"
Class="event-calendar"
ItemClicked="OnItemClicked">
<MonthTemplate>