Skip to content

Error when using the package with nextjs #364

@anbturki

Description

@anbturki

Getting the following error.

Screen Shot 2021-02-25 at 10 54 56 PM

When using the following example in a Nextjs page.

// pages/index.js
import React from "react";
import MaterialJsonSchemaForm from "react-jsonschema-form-material-ui";

import schema from "../schema.json";
import uiSchema from "../ui-schema.json";

export default () => {
  return <MaterialJsonSchemaForm schema={schema} uiSchema={uiSchema} />;
};

Version:
"react-jsonschema-form-material-ui": "^3.0.0-alpha.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions