Uncaught error when opening Modal

Hi

We open a Model with this code

        client.interface.trigger('showModal', {
            title: 'Order eröffnen',
            template: 'views/modalcreateeditorder.html',
            data: modalData
        });

We always get the following exception:

image

We think it is a Bug. Do you have any suggestions?

Hi @Benjamin,

Could you please try the below code and let me know.

const openModal = (client) =>{

    client.interface.trigger("showModal", {
        title: `sometitle`,
        template: "index.html",
        data:{
          data1,
          data2
        }
      })
}

Make sure the path is correct and make sure the client object is not null/ undefined