danheron / Heron.MudCalendar

Calendar component for MudBlazor
MIT License
176 stars 33 forks source link

DatePicker does not update Calendar #2

Closed TDroogers closed 1 year ago

TDroogers commented 1 year ago

Hi, I like this extension :)

But I found a bug, when you change month with the DatePicker the Calender is not updated. And when you change month with the arrows the DatePicker is not updated.

And also a future request, can you make it possible to hide the date picker and some views (month/week/day)?

2023-03-10_09h43_58

I can not compile your project. It can not find using MudBlazor.Docs.Extensions; afbeelding

danheron commented 1 year ago

Thanks for reporting the bug, I will take a look at it.

There are already properties to hide views you don't want. e.g. If you don't need the day view you can set ShowDay = false.

You should be able to compile the MudCalendar project. To compile the whole solution you need MudBlazor as well because the Docs use MudBlazor.Docs.

I have a fork of MudBlazor in my github. To compile the whole solution you need to clone this repo and checkout the mudcalendar branch. Your file structure should look like:

MyProjects | -> MudBlazor | -> Heron.MudCalendar

TDroogers commented 1 year ago

I have the same file structure, but had never build MudBlazor in release. After doing that it did compile!

I somehow mist those ShnowDay, but is there also an option to hide the DatePicker?

danheron commented 1 year ago

There isn't currently an option to show/hide DatePicker, but I will add one.

TDroogers commented 1 year ago

Thanks!