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

MDC List: Accept multiples indexes for selectedIndex for checkbox based list. #4122

Closed
abhiomkar opened this issue Nov 28, 2018 · 0 comments
Closed
Assignees
Milestone

Comments

@abhiomkar
Copy link
Collaborator

MDC List component has selectedIndex setter which updates the selection in a list, this is a proxy to foundation's setSelectedIndex(index) method. But this only works for single selection list and radio list. Checkbox based list is a multi-selectable list and it needs to accept multiple indexes to update selection.

Also need to add getter method for selectedIndex in MDC List component. selectedIndex: that accepts and return value type number|!Array<number>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants