Skip to content

Page: No renderer for form element type {D819B43E-C136-4392-9393-8BE7FCE32F5E} #2175

@scharde

Description

@scharde

Describe the Bug

Packages:
"@sitecore-jss/sitecore-jss-forms": "^22.10.0",
"@sitecore-jss/sitecore-jss-nextjs": "~22.10.0",
"@sitecore-jss/sitecore-jss-react-forms": "^22.10.0",

Issue:
In sitecore forms, it is said to add Page first, and when we do and use simple Form component we get error, is there any conflict in discusion with Sitecore and this package developers? or I am missing anything to update ?

Image

My component:

<Form
        form={fields}
        sitecoreApiHost={sitecoreApiHost}
        sitecoreApiKey={sitecoreApiKey}
        onRedirect={(url) => router.push(url)}
      />

When I use field factory:
fieldFactory.setComponent('{D819B43E-C136-4392-9393-8BE7FCE32F5E}', MyCustomFormElement);

It just load that only, not the other fields.

To Reproduce

  1. Install sitecore 10.4 with headless package 22
  2. Create Form, you will add page and other fields.
  3. Created Form component, you will get this issue

Page: No renderer for form element type {D819B43E-C136-4392-9393-8BE7FCE32F5E}

Expected Behavior

It should work directly without much changes, and this is frustating when sitecore have something and packages dont. Not even sitecore documents mentioned changes work correctly, very poor documents.
Please correct me if I miss anything

Possible Fix

No response

Provide environment information

  • Sitecore Version: 10.4
  • JSS Version: 22
  • Browser Name and version: any
  • Operating System and version (desktop or mobile): desktop
  • Link to your project (if available):

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogIssue/PR/discussion is reviewed and added to backlog for the further work🐞 bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions