# Formjs properties panel cannot be extended

**URL:** <https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917>\
**Category:** Users\
**Created:** [April 17, 2024, 8:56pm UTC](https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917 "2024-04-17T20:56:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mateuspitang](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/m/46a35a/32.png) [@mateuspitang](https://forum.bpmn.io/u/mateuspitang)\
**Post date:** [April 17, 2024, 8:56pm UTC](https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917/1 "2024-04-17T20:56:24Z")

</div>

Hey guys o/,

I copied/pasted the form.js custom range element from the [examples page](https://github.com/bpmn-io/form-js-examples/tree/master/custom-components) into my Reactjs project in vite with the following code:

```auto
import { useRef, useEffect } from "react";
import { FormEditor } from "@bpmn-io/form-js";

import "@bpmn-io/form-js/dist/assets/form-js.css";
import "@bpmn-io/form-js/dist/assets/properties-panel.css";
import "@bpmn-io/form-js/dist/assets/form-js-editor.css";

import RangeExtension from "./custom/range/render";
import RangePropertiesPanelExtension from "./custom/range/propertiesPanel";

export const Formularios: React.FC = () => {
  const bpmnFormRef = useRef<FormEditor | null>(null);

  useEffect(() => {
    try {
      bpmnFormRef.current = new FormEditor({
        container: "#form",
        additionalModules: [RangeExtension],
        editorAdditionalModules: [RangePropertiesPanelExtension],
      });

      bpmnFormRef.current?.importSchema({
        components: [],
        type: "default",
      });

      return () => {
        bpmnFormRef.current?.destroy();
      };
    } catch (e) {
      const error = e as ErrorEvent;
      console.log(error.message);
    }
  }, []);

  return <div id="form" className="w-full h-full" />;
};

```

The form works just fine, but the properties panel does not render the range group  
 ![2024-04-17_17-49](https://forum.bpmn.io/uploads/default/original/2X/0/0f26dd90cff7c966d784dd6bee66ac030163d061.png)

The example works but mine doesn’t. Do your guys think I’m missing something?  
I want to show the custom group on the panel so I can create my own component.

I have these versions in my package.json

```auto
"@bpmn-io/form-js": "^1.8.4",
"@bpmn-io/properties-panel": "^3.18.1",

```

I also have this error when viewing the form on production mode  
`Error: No provider for "formFields2"! (Resolving: rangeField -> formFields2)`  
But I think it’s a different issue.

Here’s the example code

> **[FormJs sample - StackBlitz](https://stackblitz.com/edit/vitejs-vite-o3cxe3?file=src%2FApp.tsx)**
>
> Next generation frontend tooling. It's fast!

---

<div class="post-metadata">

**Author:** ![mateuspitang](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/m/46a35a/32.png) [@mateuspitang](https://forum.bpmn.io/u/mateuspitang)\
**Post date:** [April 18, 2024, 11:14am UTC](https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917/2 "2024-04-18T11:14:02Z")

</div>

One thing to note is that the [example code](https://github.com/bpmn-io/form-js-examples/tree/master/custom-components) runs in a FormPlayground, but when changed to FormEditor, the same problem appears

---

<div class="post-metadata">

**Author:** ![Bduk](https://forum.bpmn.io/user_avatar/forum.bpmn.io/bduk/32/5406_2.png) [@Bduk](https://forum.bpmn.io/u/Bduk)\
**Post date:** [May 22, 2024, 1:23pm UTC](https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917/3 "2024-05-22T13:23:44Z")

</div>

I faced with the same problem.  
In my case it’s because of in FormEditor and FormViewer you need to paste  
your RangePropertiesPanelExtension to additionalModules (not editorAdditionalModules) while initializing form in App.tsx

---

<div class="post-metadata">

**Author:** ![Aws\_rayyan](https://forum.bpmn.io/user_avatar/forum.bpmn.io/aws_rayyan/32/5152_2.png) [@Aws\_rayyan](https://forum.bpmn.io/u/Aws_rayyan)\
**Post date:** [June 25, 2024, 2:11pm UTC](https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917/4 "2024-06-25T14:11:24Z")

</div>

Just add this to your additionalModules

```auto
  formEditor = new FormEditor({
    container: container,
    data: {},

    // load rendering extension
    additionalModules: [RenderExtension, PropertiesPanelExtension],

    // load properties panel extension
    editorAdditionalModules: [PropertiesPanelExtension],
  });

```

---

<div class="post-metadata">

**Author:** ![Mishal\_Alshuwaikhat](https://forum.bpmn.io/user_avatar/forum.bpmn.io/mishal_alshuwaikhat/32/6139_2.png) [@Mishal\_Alshuwaikhat](https://forum.bpmn.io/u/Mishal_Alshuwaikhat)\
**Post date:** [October 11, 2024, 7:48am UTC](https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917/5 "2024-10-11T07:48:02Z")

</div>

Hello,

Facing same problem in production mode!

`Error: No provider for "formFields2"! (Resolving: rangeField -> formFields2)`

were you able to find a solution?

---

<div class="post-metadata">

**Author:** ![barmac](https://forum.bpmn.io/user_avatar/forum.bpmn.io/barmac/32/974_2.png) [@barmac](https://forum.bpmn.io/u/barmac)\
**Post date:** [July 9, 2025, 10:10am UTC](https://forum.bpmn.io/t/formjs-properties-panel-cannot-be-extended/10917/6 "2025-07-09T10:10:18Z")

</div>

Closed on July 9, 2025, 10:10am UTC

Closing old topics.
