[PR #1933] [MERGED] RadzenDatePicker floating label and RadzenFormField support #2976

Open
opened 2026-01-29 18:21:22 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1933
Author: @rklfss
Created: 1/31/2025
Status: Merged
Merged: 2/3/2025
Merged by: @yordanov

Base: masterHead: datepicker-formfield-support


📝 Commits (3)

  • 9358987 Added support to use RadzenDatePicker in RadzenFormField
  • 4be7094 RadzenDatePicker minor code fixes and improvements
  • 7fb75b2 RadzenDatePicker Demo show time part

📊 Changes

5 files changed (+60 additions, -15 deletions)

View changed files

📝 Radzen.Blazor.Tests/DatePickerTests.cs (+28 -0)
📝 Radzen.Blazor/RadzenDatePicker.razor (+7 -11)
📝 Radzen.Blazor/RadzenDatePicker.razor.cs (+15 -1)
📝 Radzen.Blazor/themes/components/blazor/_form-field.scss (+6 -3)
📝 RadzenBlazorDemos/Pages/FormFieldInputTypes.razor (+4 -0)

📄 Description

This PR enables the RadzenDatePicker to be used inside a RadzenFormField including floating label support.

  • Therefore the CSS class rz-state-empty is added to the component if there is no value.
  • Stylesheets are adjusted so that the focused state of RadzenFormField is considered by the floating label.

resolves #1929


🔄 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/1933 **Author:** [@rklfss](https://github.com/rklfss) **Created:** 1/31/2025 **Status:** ✅ Merged **Merged:** 2/3/2025 **Merged by:** [@yordanov](https://github.com/yordanov) **Base:** `master` ← **Head:** `datepicker-formfield-support` --- ### 📝 Commits (3) - [`9358987`](https://github.com/radzenhq/radzen-blazor/commit/93589875d534c77159c28e99bc4e1e78256f1eec) Added support to use RadzenDatePicker in RadzenFormField - [`4be7094`](https://github.com/radzenhq/radzen-blazor/commit/4be70949a19e2c8af242b9137624b8a7242a17d5) RadzenDatePicker minor code fixes and improvements - [`7fb75b2`](https://github.com/radzenhq/radzen-blazor/commit/7fb75b2dcdcf3ccab31a94ea9d43bbb0377caedd) RadzenDatePicker Demo show time part ### 📊 Changes **5 files changed** (+60 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor.Tests/DatePickerTests.cs` (+28 -0) 📝 `Radzen.Blazor/RadzenDatePicker.razor` (+7 -11) 📝 `Radzen.Blazor/RadzenDatePicker.razor.cs` (+15 -1) 📝 `Radzen.Blazor/themes/components/blazor/_form-field.scss` (+6 -3) 📝 `RadzenBlazorDemos/Pages/FormFieldInputTypes.razor` (+4 -0) </details> ### 📄 Description This PR enables the RadzenDatePicker to be used inside a RadzenFormField including floating label support. - Therefore the CSS class `rz-state-empty` is added to the component if there is no value. - Stylesheets are adjusted so that the focused state of RadzenFormField is considered by the floating label. resolves #1929 --- <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:21:22 +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#2976