Posted 13 August 2024, 3:41 pm EST
Pulling in Designer and trying to return it results in various errors in my project, as well as a stand alone, fresh install of Next.js 14
In all cases, the errors seem to relate to charts and shapes, but they aren’t consistent in my environments. For simplicity sake, I’m sticking with the fresh Next 14 install.
There is no specific Next documentation for Designer, just React. But following this, I am getting:
TypeError: Cannot read properties of undefined (reading ‘FormControlType’)
Also this callstack:
./src/commands/shapeHelper.ts
node_modules/@mescius/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js (1:4829727)
i
node_modules/@mescius/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js (1:8942817)
./src/commands/chartHelper.ts
node_modules/@mescius/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js (1:301516)
i
node_modules/@mescius/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js (1:8942817)
./src/components/compositeComponents/rangeSelect/rangeSelectDialog.ts
node_modules/@mescius/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js (1:7477912)
i
node_modules/@mescius/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js (1:8942817)
./src/components/compositeComponents/dialog/templateBindDialog.ts
node_modules/@mescius/spread-sheets-designer/dist/gc.spread.sheets.designer.all.min.js (1:7274869)