jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
182 stars 35 forks source link

option ShowDropdowns not considered when used within DateRangePickerConfig #99

Open Batou-Yoshikawa opened 6 months ago

Batou-Yoshikawa commented 6 months ago

Hi,

I just noticed that initializing a custom DateRangePickerConfig with ShowDropdowns = false in application startup and using it in DateRangePicker won't have the expected behaviour. Indeed, the month/year dropdowns will continue displaying.

image image image

To hide the dropdowns, I need to set the ShowDropdowns property directly in the markup. I'm using the latest build at the time I'm posting this.

Thanks