havit / Havit.Blazor

Free Bootstrap 5 components for ASP.NET Blazor + optional enterprise-level stack for Blazor development (gRPC code-first, layered architecture, localization, auth, ...)
https://havit.blazor.eu
MIT License
463 stars 63 forks source link

[HxInputDateRange] date From can be older than date To #819

Closed franc-havit closed 1 month ago

franc-havit commented 1 month ago

Component allows to input date From larger than date To without validation error.

image

Ideally, after selecting date From, the calendar in date To should disable dates older than selected date From.

hakenr commented 1 month ago

Although the from-to range could be considered the main use case, it is intentionally not restricted and validated by the component. Instead, it is up to the form model to validate the values. From the component's perspective, the task is to obtain two valid dates.