Skip to content

Lookup: Fix deprecation warning for function width/height in dropDownOptions (T1330990)#34111

Open
r-farkhutdinov wants to merge 2 commits into
DevExpress:26_1from
r-farkhutdinov:26_1_T1330990
Open

Lookup: Fix deprecation warning for function width/height in dropDownOptions (T1330990)#34111
r-farkhutdinov wants to merge 2 commits into
DevExpress:26_1from
r-farkhutdinov:26_1_T1330990

Conversation

@r-farkhutdinov

Copy link
Copy Markdown
Contributor

No description provided.

@r-farkhutdinov r-farkhutdinov self-assigned this Jun 24, 2026
Copilot AI review requested due to automatic review settings June 24, 2026 12:42
@r-farkhutdinov r-farkhutdinov requested a review from a team as a code owner June 24, 2026 12:42

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 a deprecation warning emitted when dxLookup opens its drop-down overlay with function-valued width/height in dropDownOptions, by passing the internal _ignoreFunctionValueDeprecation flag to the underlying Popup/Popover options.

Changes:

  • Add _ignoreFunctionValueDeprecation: true to dxLookup default dropDownOptions so Popup/Popover won’t log W0017 for function-valued sizing options.
  • Remove the now-redundant _ignoreFunctionValueDeprecation from a theme-specific dropDownOptions rule.
  • Add a QUnit test asserting that opening a Lookup does not log W0017.

Reviewed changes

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

File Description
packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/lookup.tests.js Adds a regression test intended to ensure W0017 is not logged when opening the Lookup overlay.
packages/devextreme/js/__internal/ui/lookup.ts Ensures Lookup’s default overlay options include _ignoreFunctionValueDeprecation and removes a redundant theme-specific placement.

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.

3 participants