Not able to set only Min or Max on TimeSpanPicker #1768

Closed
opened 2026-01-29 17:58:17 +00:00 by claunia · 0 comments
Owner

Originally created by @Anspitzen on GitHub (May 19, 2025).

Describe the bug
TimespanPicker needs to be set Min and Max Parameters if one should be selected. Else the DropDown for selection will open only empty small field.

To Reproduce
Steps to reproduce the behavior:

  1. Go to offical Demo
  2. Remove setting Max Parameter from source, eg.
    <RadzenTimeSpanPicker TValue="TimeSpan?" Min="@TimeSpan.Zero" />
  3. Run
  4. Try to open Time picker interface

Expected behavior
Selection Interface should open like with the Max value still set, Setting Min should not delete Default value from the Max Parameter

Additional context
It is working when manually setting the Missing Parameter to the default value again
<RadzenTimeSpanPicker TValue="TimeSpan?" Min="@TimeSpan.Zero" Max="@TimeSpan.MaxValue" />

Originally created by @Anspitzen on GitHub (May 19, 2025). **Describe the bug** TimespanPicker needs to be set Min and Max Parameters if one should be selected. Else the DropDown for selection will open only empty small field. **To Reproduce** Steps to reproduce the behavior: 1. Go to [offical Demo](https://blazor.radzen.com/timespanpicker?theme=material3#min-max-values) 2. Remove setting Max Parameter from source, eg. `<RadzenTimeSpanPicker TValue="TimeSpan?" Min="@TimeSpan.Zero" />` 4. Run 5. Try to open Time picker interface **Expected behavior** Selection Interface should open like with the Max value still set, Setting Min should not delete Default value from the Max Parameter **Additional context** It is working when manually setting the Missing Parameter to the default value again `<RadzenTimeSpanPicker TValue="TimeSpan?" Min="@TimeSpan.Zero" Max="@TimeSpan.MaxValue" />`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1768