- {#each deprecatedSchemaProperties as [key, value]}
+ {#each schemaProperties as [key, value]}
{#if canShowField(key, value)}
{#if key !== "fields" && value.type !== "boolean"}
@@ -362,18 +312,6 @@
mode="json"
value={inputData[key]?.value}
on:change={e => {
- /**
- * TODO - Remove after November 2023
- * *******************************
- * Code added to provide backwards compatibility between Values 1,2,3,4,5
- * and the new JSON body.
- */
- delete inputData.value1
- delete inputData.value2
- delete inputData.value3
- delete inputData.value4
- delete inputData.value5
- /***********************/
onChange(e, key)
}}
/>
@@ -386,10 +324,23 @@
/>
{:else if value.type === "date"}
-
onChange(e, key)}
- />
+ {bindings}
+ allowJS={true}
+ updateOnChange={false}
+ drawerLeft="260px"
+ >
+ onChange(e, key)}
+ />
+
{:else if value.customType === "column"}