List View Form Data Keys not working as expected when using instance values within a module

Hi there!

I am currently building a module in which I have the following:

  1. List view within a list view that holds form fields
  2. Both List views have Instance Values enabled
  3. Transformers that contain validation logic for the form fields and use the instance values of the outer list view

The validation logic works as expected when testing the module itself. However, as soon as I embed the module in an app, the form data keys switch to use the module name as a prefix:

[{
    textInput1: "..."
}]

thus becomes

[{
    moduleName::textInput1: "..."
}]

This happens both when I use {{ self.id }} as the form data key as well as when I override it to any other value.

For now, I have built a custom window function that removes everything before the "::" and this way normalises the object key names. However, I also need to add this window function to both the module and each app in which the module is used, which is not ideal.

It would be great if this could be resolved – thank you!

1 Like