Frontmatter
| id | 4893 |
| title | form.Container: adjustTreeLeaves() => sharper separation of the key & value realms |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Sep 11, 2023, 11:03 PM |
| updatedAt | Sep 12, 2023, 3:29 PM |
| githubUrl | https://github.com/neomjs/neo/issues/4893 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 12, 2023, 3:29 PM |
when using a deeply nested form field names structure including objects & arrays, we need a smart way to check when we are leaving field paths and getting into the value realm.
the current version will break for checkbox groups, containing an array of items.
we should check for objects & arrays if a path matches a form field (then entering the value realm) or if it is not (staying inside the key realm).
i will dive into this tomorrow.