Dmx-repeat doesn't show input and it's values anymore

Subject: Bug: dmx-repeat no longer exposes input values in dynamic data (since 7.5.0)

Description
Since updating to Wappler 7.5.0, dmx-repeat no longer shows inputs and their values in the dynamic data picker / data bindings.
The same setup using dmx-repeat-children still works as expected.

Previously (before 7.5.0), inputs inside a dmx-repeat were available in dynamic data, and their values could be referenced normally.


Steps to reproduce

  1. Create a page with dmx-bind:repeat - This still works

    <div
      is="dmx-repeat"
      id="repItems"
      dmx-bind:repeat="sc1.data.items"
    >
      <input
        type="text"
        name="item_input"
        dmx-bind:value="name"
      >
    </div>
    
    
  2. Compare this with the same structure using dmx-repeat:repItems - This doesn’t work

    <div
      dmx-repeat:repItems="sc1.data.items"
    >
      <input
        type="text"
        name="item_input"
        dmx-bind:value="name"
      >
    </div>
    
    
  3. In the dmx-repeat:repItems version, the inputs and their values are NOT visible/usable in dynamic data.


Expected behavior

  • Inputs inside dmx-repeat should be visible in the dynamic data picker and usable as dynamic bindings, just as they were before 7.5.0.

Actual behavior

  • Since 7.5.0, inputs placed inside dmx-repeat are not exposed in dynamic data anymore.

Environment

  • Wappler version: 7.5.0

  • Platform: Windows/macOS

  • NodeJS

  • Browser(s): all

using dmx-repeat:repItems will cause some problems since attributes are case-insensitive and normalized to lowercase, the data of the repeater is accessible using repitems instead of repItems. This only is for the dmx-repeat attribute version, the other component uses the id attribute for the name and is case-sensitive.

Hi Patrick,

Thanks for your reply. The case-sensitivity is not the problem in our case, as we have this issue at multiple location in our application where these are all lowercase.

I did several tests and didn't notice any problems with the dmx-repeat attribute, they render exactly the same as the dmx-repeat component version.

Can you supply some example code where we can reproduce it instead of only a code snippet.