AC2 issue with repeat items not updating

Wappler Version : 6.3.2 BETA (with RC4 app connect added)
Operating System :
Server Model:
Database Type:
Hosting Type:

Expected behavior

I have a repeat children row, that has a dynamic value to control how many items to display:

<div class="row row-cols-1" id="each_kitchen_prep_item" is="dmx-repeat" dmx-bind:repeat="kitchen_prep_items_filtered.data.top(display_count.value)" key="repeat_id">

When I update display_count, the repeat should reset the list of items.

Actual behavior

Here’s what I’m seeing:

  • Load the page and the repeat (“each_kitchen_prep_item”) has 25 items (the default value of var display_count.)
  • I then scroll which triggers display_count to be 50, so the repeat now has 32 items.
  • I then set display_count to 25 and you can see in the debug some remove warnings, followed by an error. In checking the repeat, it still has 32 items, but should have only 25

Should be fixed with this update: dmxAppConnect.zip (114.8 KB)

Thanks Patrick, confirmed.

Fixed in Wappler 6.3.3