Skip to content

[Bug]: DatePicker Today not working #6501

@tacoWanneeJama

Description

@tacoWanneeJama

Blazorise Version

Latest

What Blazorise provider are you running on?

Bootstrap5

Link to minimal reproduction or a simple code snippet

https://github.com/tacoWanneeJama/BlazorBugTestApp.git

Steps to reproduce & bug description

When you click on the Today (vandaag) button second datepicker in the example, the date gets erased instead of the current day.
The main difference is that the second DatePicker is bound using Value(Changed) to a DateOnly[]. I guess that the part that is handling zith other type than the IReadOnlyList<DateTime?> is the key to this problem

What is expected?

When youclick on the tday the selected date is changed that way accordingly.

What is actually happening?

The date is cleared

What browsers do you see the problem on?

Chrome

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

✔ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions