-
Notifications
You must be signed in to change notification settings - Fork 1
Add datatable checkbox component/story and improve TabBar story docs #149
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
Conversation
| dispatch('rowSelectionChanged', event.detail) | ||
| }) | ||
| // This does not work because of an MDC bug. See https://github.com/material-components/material-components-web/issues/6385 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this comment may need to be updated. That bug seems to have been fixed, as I'm guessing you found since you uncommented the destroy line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to delete that. The issue was fixed.
|
|
||
| <td class="mdc-data-table__cell mdc-data-table__cell--checkbox" on:click> | ||
| <div class="mdc-checkbox mdc-data-table__row-checkbox"> | ||
| <input type="checkbox" class="mdc-checkbox__native-control" aria-labelledby={inputID} {disabled} bind:checked /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This aria-labelledby seems like it's referring to some other element with that ID, but that inputID isn't used anywhere else. I might be missing something, but it seems like something is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct. It should be the same as Datatable.Data.Row rowId so I will add a slot prop to expose rowId and we can use the let directive to bring it in here as a prop.
forevermatt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two comments, neither blocking.
143ef10 to
01aa5d0
Compare
|
🎉 This PR is included in version 6.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Uh oh!
There was an error while loading. Please reload this page.