Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.32k stars 535 forks source link

DatePicker: add EnabledDates parameter #5807

Closed tesar-tech closed 1 month ago

tesar-tech commented 1 month ago

Description

Enabled dates in DatePicker.

Few consideration:

//datepicker.js
 picker.set("_enable", undefined);

which sets the internal property to undefined. Which is kind of hackie solution (others didn't work), but I didn't noticed any side effects.. Other option is to make all the dates enabled, but this will mess up the dotnet-js synchronization. Note that this code will only run when you set the EnabledDates to null and they were previously set to non-null array.

Closes #5754

How Has This Been Tested?

Types of changes

Checklist: