Skip to content

Commit 984fef0

Browse files
committed
#6658 grid.column.Component: ensuring that wrapped components which don't have a wrapperId, always get an index-based one
1 parent 6b8892c commit 984fef0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/grid/column/Component.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ class Component extends Column {
104104
windowId
105105
});
106106

107+
// We need to ensure that wrapped components always get the same index-based id.
108+
if (!component.vdom.id) {
109+
component.vdom.id = id + '__wrapper'
110+
}
111+
107112
me.map.set(id, component)
108113
}
109114

0 commit comments

Comments
 (0)