Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #6200 Fix empty collection first item index (zorn-v)
This PR was merged into the 4.x branch. Discussion ---------- Fix empty collection first item index Currently `data-num-items` does not denotes actually items count, and in fact it is 0 for empty collection AND collection with 1 item. Because of this first item of empty collection obtain index 1 And if there validation violations on new created collection, indexes are shifted by 1 Because field names looks like `Entity[collection][1][field]` for very first item, but validation violation is like `data.collection[0].field` PS. This PR does not include compiled assets via `npm run build` Commits ------- 248aca4 Fix empty collection first item index
- Loading branch information