Skip to content

DateBox: Fix floating label overlapping date format hint for native picker (T1328901)#33707

Merged
r-farkhutdinov merged 1 commit into
DevExpress:26_1from
r-farkhutdinov:26_1_T1328901
May 26, 2026
Merged

DateBox: Fix floating label overlapping date format hint for native picker (T1328901)#33707
r-farkhutdinov merged 1 commit into
DevExpress:26_1from
r-farkhutdinov:26_1_T1328901

Conversation

@r-farkhutdinov

Copy link
Copy Markdown
Contributor

No description provided.

@r-farkhutdinov r-farkhutdinov self-assigned this May 25, 2026
Copilot AI review requested due to automatic review settings May 25, 2026 14:44
@r-farkhutdinov r-farkhutdinov requested a review from a team as a code owner May 25, 2026 14:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an issue in the DateBox native picker where the floating label could overlap the browser-provided date format hint when the editor value is null (T1328901).

Changes:

  • Added a DateBox override to keep the editor from being treated as “empty” when pickerType: 'native'.
  • Added a QUnit regression test to ensure the dx-texteditor-empty class is not applied for native pickers with null value and floating labels.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js Adds a regression test asserting dx-texteditor-empty is not applied for native picker + null value with floating label.
packages/devextreme/js/__internal/ui/date_box/date_box.base.ts Overrides _toggleEmptinessEventHandler to force non-empty state for native picker types, preventing label/format-hint overlap.

@r-farkhutdinov r-farkhutdinov merged commit 25c11cb into DevExpress:26_1 May 26, 2026
103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants