Frontmatter
| id | 2600 |
| title | form.field.CheckBox: afterSetId() |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 12, 2021, 3:30 PM |
| updatedAt | Jul 12, 2021, 3:30 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2600 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 12, 2021, 3:30 PM |
move the sub item id generation out of the
constructorinto its own method.use case:
calendar.view.calendars.Listis re-using checkbox field instances and dynamically updating the instance ids to match the list item record.in case the main field id changes, but the child items do not, the vdom engine is in trouble. especially in case we are deleting list records from the store.