LearnNewsExamplesServices
Frontmatter
id5598
titleselection.Model: select() => add support for widgets using a collection instead of a store
stateClosed
labels
enhancementno auto closeaicore
assigneesneo-gpt
createdAtJul 20, 2024, 9:09 PM
updatedAtJun 24, 2026, 7:18 PM
githubUrlhttps://github.com/neomjs/neo/issues/5598
authortobiu
commentsCount3
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJun 24, 2026, 7:18 PM

selection.Model: select() => add support for widgets using a collection instead of a store

Closed v13.1.0/archive-v13-1-0-chunk-1 enhancementno auto closeaicore
tobiu
tobiu commented on Jul 20, 2024, 9:09 PM

example: form.field.Time => creates a collection (can be discussed if it should be a store instead).

        items = (items = Array.isArray(items) ?
            items: [items]).map(item => item.isRecord ? view.getItemId(item) : Neo.isObject(item) ? item.id : item);

=> we need view.getItemId(item) for collection items as well.

inside the TimeField i added the hack to give items the isRecord flag as a workaround for now.

tobiu added the enhancement label on Jul 20, 2024, 9:09 PM
tobiu removed the stale label on Oct 19, 2024, 3:41 PM
tobiu added the no auto close label on Oct 19, 2024, 3:41 PM
tobiu referenced in commit 2ffe7a9 - "fix(selection): support collection item ids (#5598) (#13908) on Jun 24, 2026, 7:18 PM
tobiu closed this issue on Jun 24, 2026, 7:18 PM