LearnNewsExamplesServices
Frontmatter
id2600
titleform.field.CheckBox: afterSetId()
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 12, 2021, 3:30 PM
updatedAtJul 12, 2021, 3:30 PM
githubUrlhttps://github.com/neomjs/neo/issues/2600
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 12, 2021, 3:30 PM

form.field.CheckBox: afterSetId()

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 12, 2021, 3:30 PM

move the sub item id generation out of theconstructor into its own method.

use case: calendar.view.calendars.List is 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.

tobiu added the enhancement label on Jul 12, 2021, 3:30 PM
tobiu assigned to @tobiu on Jul 12, 2021, 3:30 PM
tobiu referenced in commit c4539e3 - "form.field.CheckBox: afterSetId() #2600" on Jul 12, 2021, 3:30 PM
tobiu closed this issue on Jul 12, 2021, 3:30 PM