Skip to content

RG-2586 Indeterminate Checkbox for Data List #8661

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amanokh
Copy link
Contributor

@amanokh amanokh commented Jun 27, 2025

No description provided.

@@ -130,9 +132,10 @@ class DataList<T extends SelectionItem> extends PureComponent<DataListProps<T>>
onExpand={item.onExpand}
showFocus={selection.isFocused(model)}
onFocus={this.onItemFocus}
selection={selection}
selection={selection as Selection<T>}
Copy link
Contributor Author

@amanokh amanokh Jun 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it is not so good to make type-assertions. However, otherwise we need to fully change the interface of selection-shortcuts-hoc.tsx by adding a new generic type for Selection (DataListSelection / TableSelection), which may be a breaking change for a hook's end-users :(

@amanokh amanokh marked this pull request as ready for review June 27, 2025 13:38
@amanokh amanokh requested a review from andrey-skl June 27, 2025 13:55
@andrey-skl andrey-skl requested a review from vkrol June 27, 2025 13:56
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

Successfully merging this pull request may close these issues.

2 participants