Frontmatter
| id | 5598 |
| title | selection.Model: select() => add support for widgets using a collection instead of a store |
| state | Closed |
| labels | enhancementno auto closeaicore |
| assignees | neo-gpt |
| createdAt | Jul 20, 2024, 9:09 PM |
| updatedAt | Jun 24, 2026, 7:18 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5598 |
| author | tobiu |
| commentsCount | 3 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 24, 2026, 7:18 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
isRecordflag as a workaround for now.