Skip to content

Commit a54bff5

Browse files
committed
added TODO about change to GridItem.i String check
1 parent 890109e commit a54bff5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ export function validateLayout(layout: Layout, contextName: string): void {
454454
}
455455
if (item.i && typeof item.i !== 'string') {
456456
// number is also ok, so comment the error
457+
// TODO confirm if commenting the line below doesn't cause unexpected problems
457458
// throw new Error('VueGridLayout: ' + contextName + '[' + i + '].i must be a string!');
458459
}
459460
if (item.static !== undefined && typeof item.static !== 'boolean') {

0 commit comments

Comments
 (0)