Wappler Version : 4.9.1
Operating System : MacOS
Server Model: NodeJS
Database Type: MariaDB
Hosting Type: Local
Expected behavior
What do you think should happen?
- When any new rows are added after Required validation has been applied on an input, adding new rows should not show Validation error.
- When a row with Validation error is removed, it should remove the row for that index.
Actual behavior
What actually happens?
- Any new rows added after Validation error also start showing the error. Please refer to the screenshot showing three rows. 1st row is correct. 2nd row is showing validation error correctly. But when the 3rd row is added, it also shows validation error.
- When I remove the 3rd row with validation error, it removes the 1st row with valid data, instead of removing the 3rd row. Second screenshot shows two rows with validation error after I removed the 3rd row. The row with validation error stays in the form and it removed the 1st row with valid data.
How to reproduce
- Add server connect form, add a formRepeat, add Select form with
Required
validation - Select valid data in the 1st row, add a new row
- Submit the form to trigger validation
- Add a new row - it will also show validation error
- Remove the 3rd row - it will remove the 1st row with valid data
Community Page
Last updated:
Last updated: