Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tobiu opened this issue Jul 20, 2024 · 1 comment
Labels
enhancement New feature or request no auto close

Comments

@tobiu
Copy link
Collaborator

tobiu commented Jul 20, 2024

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 tobiu added the enhancement New feature or request label Jul 20, 2024
Copy link

This issue is stale because it has been open for 90 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no auto close
Projects
None yet
Development

No branches or pull requests

1 participant