forked from DevExpress/DevExtreme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DataGrid - Console displays an error when Tab navigation is used afte…
…r changing the cell value (T1210910) (DevExpress#27350)
- Loading branch information
Showing
60 changed files
with
76 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file modified
BIN
+116 Bytes
(100%)
...ts/dataGrid/keyboardNavigation/etalons/cell-focus-showEditorAlways-T1196539.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import url from '../../../helpers/getPageUrl'; | ||
import createWidget from '../../../helpers/createWidget'; | ||
import DataGrid from '../../../model/dataGrid'; | ||
|
||
fixture.disablePageReloads`Validation` | ||
.page(url(__dirname, '../../container.html')); | ||
|
||
[true, false].forEach((repaintChangesOnly) => { | ||
test(`Navigation with tab without saving should not throw an error (repaintChangesOnly: ${repaintChangesOnly})`, async (t) => { | ||
const grid = new DataGrid('#container'); | ||
|
||
await t.click(grid.getDataCell(0, 0).element); | ||
|
||
const editor = grid.getDataCell(0, 0).getEditor(); | ||
|
||
await t.typeText(editor.element, '123'); | ||
await t.pressKey('tab'); | ||
|
||
await t.expect(true).ok('no errors'); | ||
}).before(() => createWidget('dxDataGrid', { | ||
dataSource: [{ | ||
id: 1, | ||
col2: 30, | ||
col3: 240, | ||
}, | ||
{ | ||
id: 2, | ||
col2: 15, | ||
col3: 120, | ||
}], | ||
keyExpr: 'id', | ||
repaintChangesOnly, | ||
columnAutoWidth: true, | ||
showBorders: true, | ||
paging: { | ||
enabled: false, | ||
}, | ||
editing: { | ||
mode: 'cell', | ||
allowUpdating: true, | ||
allowAdding: true, | ||
}, | ||
columns: [{ | ||
dataField: 'col2', | ||
validationRules: [{ type: 'required' }], | ||
}, { | ||
dataField: 'col3', | ||
validationRules: [{ type: 'required' }], | ||
}], | ||
})); | ||
}); |
Binary file modified
BIN
+212 Bytes
(100%)
...s/DateBox with datetime and root element as container (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.56 KB
(100%)
...s/editors/dateBox/etalons/Datebox active stylingMode=filled (generic-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.98 KB
(100%)
...s/dateBox/etalons/Datebox active stylingMode=filled (generic-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.17 KB
(99%)
...ors/dateBox/etalons/Datebox active stylingMode=filled (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.21 KB
(100%)
...Box/etalons/Datebox active stylingMode=filled (material-blue-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.47 KB
(100%)
...editors/dateBox/etalons/Datebox active stylingMode=outlined (generic-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.31 KB
(100%)
...dateBox/etalons/Datebox active stylingMode=outlined (generic-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.31 KB
(100%)
...s/dateBox/etalons/Datebox active stylingMode=outlined (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.33 KB
(100%)
...x/etalons/Datebox active stylingMode=outlined (material-blue-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.62 KB
(100%)
...itors/dateBox/etalons/Datebox active stylingMode=underlined (generic-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.9 KB
(100%)
...teBox/etalons/Datebox active stylingMode=underlined (generic-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.19 KB
(100%)
...dateBox/etalons/Datebox active stylingMode=underlined (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.24 KB
(100%)
...etalons/Datebox active stylingMode=underlined (material-blue-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+676 Bytes
(100%)
.../editors/dateBox/etalons/Datebox focused stylingMode=filled (generic-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.07 KB
(100%)
.../dateBox/etalons/Datebox focused stylingMode=filled (generic-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.43 KB
(99%)
...rs/dateBox/etalons/Datebox focused stylingMode=filled (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.87 KB
(100%)
...ox/etalons/Datebox focused stylingMode=filled (material-blue-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.65 KB
(100%)
...ditors/dateBox/etalons/Datebox focused stylingMode=outlined (generic-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.86 KB
(100%)
...ateBox/etalons/Datebox focused stylingMode=outlined (generic-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.67 KB
(100%)
.../dateBox/etalons/Datebox focused stylingMode=outlined (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.45 KB
(100%)
.../etalons/Datebox focused stylingMode=outlined (material-blue-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+320 Bytes
(100%)
...tors/dateBox/etalons/Datebox focused stylingMode=underlined (generic-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+857 Bytes
(100%)
...eBox/etalons/Datebox focused stylingMode=underlined (generic-light-compact).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.29 KB
(100%)
...ateBox/etalons/Datebox focused stylingMode=underlined (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.4 KB
(100%)
...talons/Datebox focused stylingMode=underlined (material-blue-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
+154 Bytes
(100%)
...fe/tests/editors/dateBox/etalons/Datebox stylingMode=filled (generic-light).png
Oops, something went wrong.
Binary file modified
BIN
+1.13 KB
(100%)
.../editors/dateBox/etalons/Datebox stylingMode=filled (generic-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
-1.34 KB
(99%)
...ts/editors/dateBox/etalons/Datebox stylingMode=filled (material-blue-light).png
Oops, something went wrong.
Binary file modified
BIN
+3.19 KB
(100%)
...rs/dateBox/etalons/Datebox stylingMode=filled (material-blue-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
+1.85 KB
(100%)
.../tests/editors/dateBox/etalons/Datebox stylingMode=outlined (generic-light).png
Oops, something went wrong.
Binary file modified
BIN
+1.49 KB
(100%)
...ditors/dateBox/etalons/Datebox stylingMode=outlined (generic-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
+2.31 KB
(100%)
.../editors/dateBox/etalons/Datebox stylingMode=outlined (material-blue-light).png
Oops, something went wrong.
Binary file modified
BIN
+2.33 KB
(100%)
.../dateBox/etalons/Datebox stylingMode=outlined (material-blue-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
+366 Bytes
(100%)
...ests/editors/dateBox/etalons/Datebox stylingMode=underlined (generic-light).png
Oops, something went wrong.
Binary file modified
BIN
+1.81 KB
(100%)
...tors/dateBox/etalons/Datebox stylingMode=underlined (generic-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
+1.19 KB
(100%)
...ditors/dateBox/etalons/Datebox stylingMode=underlined (material-blue-light).png
Oops, something went wrong.
Binary file modified
BIN
+2.24 KB
(100%)
...ateBox/etalons/Datebox stylingMode=underlined (material-blue-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
+210 Bytes
(100%)
...e/tests/editors/dateBox/etalons/Datebox with datetime (material-blue-light).png
Oops, something went wrong.
Binary file modified
BIN
+288 Bytes
(100%)
...ateBox/etalons/Datebox with datetime without calendar (material-blue-light).png
Oops, something went wrong.
Binary file modified
BIN
+129 Bytes
(100%)
...ors/radioGroup/etalons/RadioGroup in scaled container (material-blue-light).png
Oops, something went wrong.
Binary file modified
BIN
+120 Bytes
(100%)
...oGroup/etalons/RadioGroup in scaled container (material-blue-light-compact).png
Oops, something went wrong.
Binary file modified
BIN
-53 Bytes
(100%)
...tests/scheduler/dragAndDrop/outlookDragging/etalons/drag-short-app-to-right.png
Oops, something went wrong.
Binary file modified
BIN
+424 Bytes
(100%)
...ut/adaptive/etalons/material-view=month-crossScrolling=false-horizontal-rtl.png
Oops, something went wrong.
Binary file modified
BIN
+570 Bytes
(100%)
...yout/adaptive/etalons/material-view=month-crossScrolling=false-vertical-rtl.png
Oops, something went wrong.
Binary file modified
BIN
+444 Bytes
(100%)
...r/layout/adaptive/etalons/material-view=month-crossScrolling=false-vertical.png
Oops, something went wrong.
Binary file modified
BIN
-1.59 KB
(94%)
...s/scheduler/tooltipBehaviour/etalons/appointment-desktop-tooltip-screenshot.png
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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