Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Is it possible only to pick month and year in MudBlazor DateRangePicker?

$
0
0

Is it possible to pick the month and the year in the DateRangePicker? The DatePicker has this functionality, so you don't need to pick a day to successfully apply the filter.

Can someone tell me, if there is a way to solve this problem?

I tried a few methods just like "OpenTo", "FixDay", ...

I searched through the whole MudBlazor documentation but it didn't help me.(https://mudblazor.com/api/daterangepicker#properties)

<MudDateRangePicker @bind-DateRange="FilterDatumRange"                     OpenTo="OpenTo.Year"                     FixDay="1"                     Label="Datum"></MudDateRangePicker>

Here I expect the DateRangePicker to set the day and therefore I no longer have to select the day. That's not the case. The year selection is shown to me first, but at the end I still have to select start and end days.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>