formRepeat Reset doesn't work (v4.9.1)

Wappler Version : v4.9.1
Operating System : MacOS
Server Model: NodeJS
Database Type: MariaDB
Hosting Type: Local

Expected behavior

What do you think should happen?

Reset action for formRepeat is expected to Reset the number of rows to 0 if there are more than 1 row in the formRepeat region.

Actual behavior

What actually happens?

The formRepeat has been setup with dmx-bind:items="0". The formRepeat is being Reset on the form dmx-on:success event. The formRepeat data is cleared but the number of formRepeat rows is not reset to 0.

How to reproduce

  1. Add a formRepeat with an input text, set dmx-bind:item="0"
  2. Add Items/Rows and input some data
  3. On form success event, add formRepeat Reset action
  4. Submit the form - on success - the data has been cleared but the number of items/rows hasn’t been reset to 0.
Community Page
Last updated: