https://github.com/chmac/autoform-remove-field-update
Potential bug removing an element from an array of strings in an autoForm update
https://github.com/chmac/autoform-remove-field-update
Last synced: 4 months ago
JSON representation
Potential bug removing an element from an array of strings in an autoForm update
- Host: GitHub
- URL: https://github.com/chmac/autoform-remove-field-update
- Owner: chmac
- Created: 2015-09-07T13:00:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-07T13:05:57.000Z (over 10 years ago)
- Last Synced: 2025-09-10T06:04:06.451Z (9 months ago)
- Language: HTML
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Steps to Reproduce
* In the insert form
* Enter a name
* Enter `a` in the first child field
* Click the + three times to add 3 child fields
* Enter `b` into the 4th child field
* Click the - next to the 2nd child field
* Click Submit
* In the update form
* Click the + three times to add 3 child fields
* Enter `c` into the 5th field (the last one)
* Click the - next to the 3rd field (the first empty one)
* Click submit
## Expected result
The form is saved with 4 values `a`, `b`, `''` and `c` (or maybe with only 3 values, `a`, `b`, `c`)
## Actual result
The form is saved with 5 values `a`, `b`, `''`, `''`, `c`