Frontmatter
| id | 5598 |
| title | selection.Model: select() => add support for widgets using a collection instead of a store |
| state | Open |
| labels | enhancementno auto close |
| assignees | [] |
| createdAt | Jul 20, 2024, 9:09 PM |
| updatedAt | May 16, 2026, 10:50 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5598 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
selection.Model: select() => add support for widgets using a collection instead of a store
Openenhancementno auto close
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.