Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d634cc4

Browse files
committed
set '_index' in isLinkedArray containers
- so that we can keep track of 'skipped-over' containers e.g. 'buttons' items are skipped over when their content is invalid
1 parent cfb3986 commit d634cc4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/rangeselector/defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function buttonsDefaults(containerIn, containerOut) {
6969

7070
coerce('label');
7171

72+
buttonOut._index = i;
7273
buttonsOut.push(buttonOut);
7374
}
7475

src/components/updatemenus/defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function buttonsDefaults(menuIn, menuOut) {
8686
coerce('args');
8787
coerce('label');
8888

89+
buttonOut._index = i;
8990
buttonsOut.push(buttonOut);
9091
}
9192

0 commit comments

Comments
 (0)