Skip to content

Conversation

@marker-dao
Copy link
Contributor

No description provided.

@marker-dao marker-dao self-assigned this Jan 9, 2026
@marker-dao marker-dao marked this pull request as ready for review January 9, 2026 13:17
@marker-dao marker-dao requested a review from a team as a code owner January 9, 2026 13:17
Copilot AI review requested due to automatic review settings January 9, 2026 13:17
Copy link
Contributor

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 is labeled as "research" and attempts to add support for null values in DropDownList by introducing an allowNullValue parameter. The changes modify the _loadValue method in DataExpressionMixin to accept a new parameter and update DropDownList to pass this option when loading values.

Key changes:

  • Added an allowNullValue parameter to the _loadValue method in DataExpressionMixin
  • Modified the null/undefined check logic in _loadValue to conditionally allow null values
  • Updated DropDownList's _loadItem method to pass this.option('allowNullValue') to _loadValue

Reviewed changes

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

File Description
packages/devextreme/js/__internal/ui/editor/m_data_expression.ts Adds allowNullValue parameter to _loadValue method and modifies the value validation logic
packages/devextreme/js/__internal/ui/drop_down_editor/m_drop_down_list.ts Updates _loadItem to pass the allowNullValue option when calling _loadValue

@marker-dao marker-dao force-pushed the 26_1_allow_null_value_ddlist branch from 0528f9a to 252e888 Compare January 9, 2026 13:53
@marker-dao marker-dao closed this Jan 9, 2026
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.

1 participant