Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DropDownEditor: Detach focus events before attaching new ones (T1238121) #28547

Open
wants to merge 3 commits into
base: 24_2
Choose a base branch
from

Conversation

marker-dao
Copy link
Contributor

No description provided.

@marker-dao marker-dao requested a review from a team December 12, 2024 16:14
@marker-dao marker-dao self-assigned this Dec 12, 2024
@ksercs ksercs changed the title DropDownEditor: Detach focus events before attaching new ones DropDownEditor: Detach focus events before attaching new ones (T1238121) Dec 13, 2024
@@ -457,6 +457,66 @@ QUnit.module('focus policy', () => {
assert.ok($dropDownEditor.hasClass('dx-state-focused'), 'Widget is focused after click on clearButton');
});

QUnit.test('editor should fire onFocusIn once, if fieldTemplate is used', function(assert) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
QUnit.test('editor should fire onFocusIn once, if fieldTemplate is used', function(assert) {
QUnit.test('editor should fire onFocusIn once if fieldTemplate is used (T1238121)', function(assert) {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

],
displayExpr: 'name',
valueExpr: 'id',
value: 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

Cannot we minimize the test? Now a lot of properties looks excess

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@marker-dao marker-dao force-pushed the 24_2_selectbox_T1238121 branch from 35330fe to 7894ae7 Compare December 13, 2024 13:16
@marker-dao marker-dao requested review from ksercs and a team December 13, 2024 13:16
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