# Camunda properties provider not working properly in React app

**URL:** <https://forum.camunda.io/t/camunda-properties-provider-not-working-properly-in-react-app/50538>\
**Category:** Camunda 8 Topics\
**Created:** [February 15, 2024, 2:45pm UTC](https://forum.camunda.io/t/camunda-properties-provider-not-working-properly-in-react-app/50538 "2024-02-15T14:45:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Ouzounis](https://forum.camunda.io/user_avatar/forum.camunda.io/john_ouzounis/32/27891_2.png) [@John\_Ouzounis](https://forum.camunda.io/u/John_Ouzounis)\
**Post date:** [February 15, 2024, 2:45pm UTC](https://forum.camunda.io/t/camunda-properties-provider-not-working-properly-in-react-app/50538/1 "2024-02-15T14:45:53Z")

</div>

i am trying to add camunda features for my properties panel in my react app but i get a runtime error everytime i try to edit an element.  
The exact error i am getting refers to minDash (TypeError:minDash.isArray is not a function). I don’t understand what am i doing wrong, do i need to import something else?

here is my code:

```auto
import {
    BpmnPropertiesPanelModule,
    BpmnPropertiesProviderModule,
    CamundaPlatformPropertiesProviderModule
} from 'bpmn-js-properties-panel';

import CamundaBpmnModdle from 'camunda-bpmn-moddle/resources/camunda.json'

const CamundaModeler = () => {
    const bpmnModelerRef = useRef(null);
    const propertiesPanelRef = useRef(null);

    useEffect(() => {
        try {
            bpmnModelerRef.current = new BpmnModeler({
                container: '#bpmnview',
                propertiesPanel: {
                    parent: '#propertiesview'
                },
                additionalModules: [
                    BpmnPropertiesPanelModule,
                    BpmnPropertiesProviderModule,
                    minimapModule,
                    CamundaPlatformPropertiesProviderModule
                ],
                moddleExtensions: {
                    camunda: CamundaBpmnModdle
                },
                keyboard: {
                    bindTo: window
                }
            });

            propertiesPanelRef.current = bpmnModelerRef.current.get('propertiesPanel');

            return () => {
                bpmnModelerRef.current.destroy();
            };
        } catch (error) {
            handleError(error.message);
        }

    }, []);
...

```

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [February 15, 2024, 4:12pm UTC](https://forum.camunda.io/t/camunda-properties-provider-not-working-properly-in-react-app/50538/2 "2024-02-15T16:12:07Z")

</div>

Hi @John_Ouzounis - the [BPMN.io](http://BPMN.io) project has its own forum! I would recommend asking this question over there. I’ll also give the team a heads up that this question is incoming!

> **[Forum - bpmn.io](https://forum.bpmn.io/)**
>
> The bpmn.io community forum

---

<div class="post-metadata">

**Author:** ![John\_Ouzounis](https://forum.camunda.io/user_avatar/forum.camunda.io/john_ouzounis/32/27891_2.png) [@John\_Ouzounis](https://forum.camunda.io/u/John_Ouzounis)\
**Post date:** [February 16, 2024, 10:14am UTC](https://forum.camunda.io/t/camunda-properties-provider-not-working-properly-in-react-app/50538/3 "2024-02-16T10:14:54Z")

</div>

Thank you, i will post it there.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [May 16, 2024, 10:15am UTC](https://forum.camunda.io/t/camunda-properties-provider-not-working-properly-in-react-app/50538/4 "2024-05-16T10:15:54Z")

</div>

Closed on May 16, 2024, 10:15am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
