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
- Add a formRepeat with an input text, set
dmx-bind:item="0" - Add Items/Rows and input some data
- On form success event, add formRepeat
Resetaction - 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:
Last updated: