Skip to content

DateBox: Add Native pickerType Notes (#8727)#8737

Merged
arman-boyakhchyan merged 1 commit into
DevExpress:26_1from
arman-boyakhchyan:datebox-native-pickertype-info-26-1
May 7, 2026
Merged

DateBox: Add Native pickerType Notes (#8727)#8737
arman-boyakhchyan merged 1 commit into
DevExpress:26_1from
arman-boyakhchyan:datebox-native-pickertype-info-26-1

Conversation

@arman-boyakhchyan
Copy link
Copy Markdown
Contributor

No description provided.

@arman-boyakhchyan arman-boyakhchyan self-assigned this May 7, 2026
Copilot AI review requested due to automatic review settings May 7, 2026 06:11
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the DevExtreme DateBox API reference to document behavior differences when pickerType is set to "native", including which events do not fire and which popup-related methods/properties have no effect.

Changes:

  • Added new method reference pages for dxDateBox.open(), dxDateBox.close(), and dxDateBox.content() with notes about "native" behavior.
  • Expanded the pickerType configuration documentation to list behavioral differences for "native" (events, methods, dropDownOptions).
  • Updated onOpened, onClosed, and dropDownOptions docs with "native"-specific notes.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
api-reference/10 UI Components/dxDateBox/3 Methods/open().md New method page; adds note about pickerType: "native".
api-reference/10 UI Components/dxDateBox/3 Methods/close().md New method page; adds note about pickerType: "native".
api-reference/10 UI Components/dxDateBox/3 Methods/content().md New method page; documents null return for native picker.
api-reference/10 UI Components/dxDateBox/1 Configuration/pickerType.md Expands "native" note with a detailed behavior/change list.
api-reference/10 UI Components/dxDateBox/1 Configuration/onOpened.md Adds note that onOpened is not executed for native picker.
api-reference/10 UI Components/dxDateBox/1 Configuration/onClosed.md Adds note that onClosed is not executed for native picker.
api-reference/10 UI Components/dxDateBox/1 Configuration/dropDownOptions.md Adds note that dropDownOptions is ignored for native picker.


---

[note] DateBox ignores the **open()** method when [pickerType](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#pickerType) is *"native"*.

---

[note] DateBox ignores the **close()** method when [pickerType](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#pickerType) is *"native"*.

---

[note] The **content()** method always returns `null` if [pickerType](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#pickerType) is *"native"*.
---
<!-- Description goes here --> No newline at end of file

[note] DateBox does not execute **onOpened** when [pickerType](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#pickerType) is *"native"*. No newline at end of file
---
<!-- Description goes here --> No newline at end of file

[note] DateBox does not execute **onClosed** when [pickerType](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#pickerType) is *"native"*. No newline at end of file
<!-- import * from 'api-reference\10 UI Components\dxDropDownEditor\1 Configuration\dropDownOptions.md' --> No newline at end of file
<!-- import * from 'api-reference\10 UI Components\dxDropDownEditor\1 Configuration\dropDownOptions.md' -->

[note] DateBox ignores **dropDownOptions** when [pickerType](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#pickerType) is *"native"*. No newline at end of file
- The default behaviour of DateBox is to emit the [onValueChanged](/api-reference/10%20UI%20Components/dxDateBox/1%20Configuration/onValueChanged.md '/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#onValueChanged') event when users finish editing the component value. If you set the picker type to *"native"*, DateBox emits **onValueChanged** as users edit the value.
When **pickerType** is *"native"*, DateBox behavior changes as follows:

- The component overrides [DevExtreme localization](/concepts/Common/Localization '/Documentation/Guide/Common/Localization/') settings and formats dates according to the user device locale.
Comment on lines +29 to +35
- [onClosed](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#onClosed)
- [onOpened](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#onOpened)
- The following DateBox methods have no effect:
- [close()](/Documentation/ApiReference/UI_Components/dxDateBox/Methods/#close)
- [open()](/Documentation/ApiReference/UI_Components/dxDateBox/Methods/#open)
- [content()](/Documentation/ApiReference/UI_Components/dxDateBox/Methods/#content) (always returns `null`)
- DateBox ignores the [dropDownOptions](/Documentation/ApiReference/UI_Components/dxDateBox/Configuration/#dropDownOptions) property.
@arman-boyakhchyan arman-boyakhchyan merged commit d6d21b3 into DevExpress:26_1 May 7, 2026
10 checks passed
@arman-boyakhchyan arman-boyakhchyan deleted the datebox-native-pickertype-info-26-1 branch May 7, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants