mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-28 16:06:41 +01:00
array subTable
This commit is contained in:
@@ -12,17 +12,17 @@ const SideDrawerField = lazy(
|
||||
)
|
||||
);
|
||||
const Settings = lazy(
|
||||
() => import("./Settings" /* webpackChunkName: "Settings-ArraySubtable" */)
|
||||
() => import("./Settings" /* webpackChunkName: "Settings-ArraySubTable" */)
|
||||
);
|
||||
export const config: IFieldConfig = {
|
||||
type: FieldType.arraySubTable,
|
||||
name: "Array-Sub-Table",
|
||||
name: "Array SubTable (Alpha)",
|
||||
group: "Connection",
|
||||
dataType: "undefined",
|
||||
initialValue: null,
|
||||
icon: <ArraySubTableIcon />,
|
||||
settings: Settings,
|
||||
description: "Connects to a array-table in the current row.",
|
||||
description: "A sub-table representing an array of objects in the row",
|
||||
TableCell: withRenderTableCell(DisplayCell, null, "focus", {
|
||||
usesRowData: true,
|
||||
disablePadding: true,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { lazy } from "react";
|
||||
import { GeoPoint } from "firebase/firestore";
|
||||
import { IFieldConfig, FieldType } from "@src/components/fields/types";
|
||||
import withRenderTableCell from "@src/components/Table/TableCell/withRenderTableCell";
|
||||
|
||||
@@ -15,7 +14,7 @@ const SideDrawerField = lazy(
|
||||
|
||||
export const config: IFieldConfig = {
|
||||
type: FieldType.geoPoint,
|
||||
name: "GeoPoint (Alpha)",
|
||||
name: "GeoPoint",
|
||||
group: "Numeric",
|
||||
dataType: "{latitude:number; longitude:number}",
|
||||
initialValue: {},
|
||||
|
||||
Reference in New Issue
Block a user