Browse Source

chore(nc-gui): change maxSelectOptionsAllowed to 64

pull/3811/head
Wing-Kam Wong 2 years ago
parent
commit
934c0a482b
  1. 3
      packages/nc-gui/utils/parsers/ExcelTemplateAdapter.ts

3
packages/nc-gui/utils/parsers/ExcelTemplateAdapter.ts

@ -72,7 +72,8 @@ export default class ExcelTemplateAdapter extends TemplateGenerator {
parse() {
const tableNamePrefixRef: Record<string, any> = {}
const maxSelectOptionsAllowed = 100
// TODO: find the upper bound / make it configurable
const maxSelectOptionsAllowed = 64
for (let i = 0; i < this.wb.SheetNames.length; i++) {
const columnNamePrefixRef: Record<string, any> = { id: 0 }

Loading…
Cancel
Save