🐛 Bug Report
I wanted to disable the weekend from the calendar but if I disable the weekends the months view is getting affected and it is disabling the months (Feb, Mar, June, Nov)
FluentUI Version : 4.11.3
💻 Repro or Code Sample
@page "/"
@using ExcelPateDemo.Model
@rendermode InteractiveServer
<FluentDatePicker DisabledDateFunc="@DisabledDay" />
@code {
private bool DisabledDay(DateTime date) => date.DayOfWeek == DayOfWeek.Saturday || date.DayOfWeek == DayOfWeek.Sunday ;
}
🤔 Expected Behavior
The code should only disable the weekends.
Weekends are disabled in months view.
😯 Current Behavior
When I moved to months view it is disabling the months as well. This was not expected.
💁 Possible Solution
🔦 Context
🌍 Your Environment
- OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
- Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
- .NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]