mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Merge branch 'v2' of https://github.com/notsidney/xtable into v2
This commit is contained in:
@@ -5,12 +5,7 @@ import { IMenuModalProps } from "..";
|
||||
import { makeStyles, createStyles } from "@mui/styles";
|
||||
import Switch from "@mui/material/Switch";
|
||||
import FormControlLabel from "@mui/material/FormControlLabel";
|
||||
import {
|
||||
Typography,
|
||||
TextField,
|
||||
MenuItem,
|
||||
ListItemText,
|
||||
} from "@mui/material";
|
||||
import { Typography, TextField, MenuItem, ListItemText } from "@mui/material";
|
||||
import Subheading from "../Subheading";
|
||||
|
||||
import { getFieldProp } from "components/fields";
|
||||
@@ -61,7 +56,6 @@ export default function DefaultValueInput({
|
||||
config.defaultValue?.value ?? getFieldProp("initialValue", _type),
|
||||
},
|
||||
});
|
||||
console.log(config);
|
||||
return (
|
||||
<>
|
||||
<Subheading>Default Value</Subheading>
|
||||
|
||||
@@ -20,7 +20,7 @@ export const config: IFieldConfig = {
|
||||
name: "JSON",
|
||||
group: "Code",
|
||||
dataType: "any",
|
||||
initialValue: {},
|
||||
initialValue: undefined,
|
||||
initializable: true,
|
||||
icon: <JsonIcon />,
|
||||
description: "JSON object editable with a visual JSON editor.",
|
||||
|
||||
Reference in New Issue
Block a user