mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 07:35:32 +00:00
feat: sync fw (#10671)
* feat: sync table init * feat: sync table (WIP) * feat: oauth flow for github * feat: sync feature flag * feat: progress for sync * feat: revise sync status * feat: incremental support for sync * feat: disable insert & delete operations on synced tables * feat: handle synced & readonly on frontend * test: apply system column order (always initial) * test: change wrong index * fix: PR requested changes * test: overlapping variable names
This commit is contained in:
@@ -14,6 +14,7 @@ const rootPath = path.resolve(
|
||||
"..",
|
||||
"nocodb",
|
||||
"src",
|
||||
"ee",
|
||||
"integrations"
|
||||
);
|
||||
|
||||
@@ -234,7 +235,7 @@ async function generateFormBoilerplate(type: string, subType: string) {
|
||||
|
||||
const options = [];
|
||||
|
||||
let selectMode: 'single' | 'multiple' | 'multipleWithInput';
|
||||
let selectMode: "single" | "multiple" | "multipleWithInput";
|
||||
|
||||
if (menu === "Select") {
|
||||
let counter = 0;
|
||||
@@ -297,9 +298,7 @@ async function generateFormBoilerplate(type: string, subType: string) {
|
||||
category: '${category}',` +
|
||||
`${placeholder ? `\nplaceholder: '${placeholder}',\n` : ""}` +
|
||||
`${menu === "Select" ? `selectMode: '${selectMode}',\n` : ""}` +
|
||||
`${
|
||||
menu === "Select" ? `options: ${JSON.stringify(options)},\n` : ""
|
||||
}` +
|
||||
`${menu === "Select" ? `options: ${JSON.stringify(options)},\n` : ""}` +
|
||||
`${defaultValue ? `defaultValue: '${defaultValue}',\n` : ""}` +
|
||||
`${
|
||||
isRequired
|
||||
|
||||
Reference in New Issue
Block a user