DateBox: Add Native pickerType Notes (#8727)#8737
Merged
arman-boyakhchyan merged 1 commit intoMay 7, 2026
Merged
Conversation
There was a problem hiding this comment.
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(), anddxDateBox.content()with notes about"native"behavior. - Expanded the
pickerTypeconfiguration documentation to list behavioral differences for"native"(events, methods,dropDownOptions). - Updated
onOpened,onClosed, anddropDownOptionsdocs 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. |
vladaskorohodova
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.