[PR #374] [CLOSED] Add optional Today and Clear button to Datepicker #2151

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

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/374
Author: @mmmmmarco
Created: 2/13/2022
Status: Closed

Base: masterHead: RadzenDatepicker-Today-and-Clear-button


📝 Commits (3)

  • fdca3bf Add optional Today- and Clear button to Datepicker
  • c18d627 Add unit tests for Today- and Clear button
  • cdb7697 Add demo

📊 Changes

5 files changed (+121 additions, -1 deletions)

View changed files

📝 Radzen.Blazor.Tests/DatePickerTests.cs (+42 -0)
📝 Radzen.Blazor/RadzenDatePicker.razor (+20 -0)
📝 Radzen.Blazor/RadzenDatePicker.razor.cs (+44 -0)
📝 Radzen.Blazor/themes/components/blazor/_datepicker.scss (+9 -1)
📝 RadzenBlazorDemos/Pages/DatePickerPage.razor (+6 -0)

📄 Description

Most other Datepicker components offer an option to set the date to today or clear the date via buttons.

This PR adds this optional functionality.

afbeelding


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/374 **Author:** [@mmmmmarco](https://github.com/mmmmmarco) **Created:** 2/13/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `RadzenDatepicker-Today-and-Clear-button` --- ### 📝 Commits (3) - [`fdca3bf`](https://github.com/radzenhq/radzen-blazor/commit/fdca3bf8f7938e6b2481168328a0e745f75a32d9) Add optional Today- and Clear button to Datepicker - [`c18d627`](https://github.com/radzenhq/radzen-blazor/commit/c18d62700d641f952e37dc26e335aaf67f4aeaca) Add unit tests for Today- and Clear button - [`cdb7697`](https://github.com/radzenhq/radzen-blazor/commit/cdb76974d65552fce889efe582720c708a3b0ee3) Add demo ### 📊 Changes **5 files changed** (+121 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor.Tests/DatePickerTests.cs` (+42 -0) 📝 `Radzen.Blazor/RadzenDatePicker.razor` (+20 -0) 📝 `Radzen.Blazor/RadzenDatePicker.razor.cs` (+44 -0) 📝 `Radzen.Blazor/themes/components/blazor/_datepicker.scss` (+9 -1) 📝 `RadzenBlazorDemos/Pages/DatePickerPage.razor` (+6 -0) </details> ### 📄 Description Most other Datepicker components offer an option to set the date to today or clear the date via buttons. This PR adds this optional functionality. ![afbeelding](https://user-images.githubusercontent.com/42466440/153773450-50bc388e-3e70-4e60-9469-04e108461c75.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:17:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2151