File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/module/src/BulkSelect Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export const BulkSelect: React.FC<BulkSelectProps> = ({
101101 isExpanded = { isOpen }
102102 onClick = { onToggleClick }
103103 aria-label = "Bulk select toggle"
104- ouiaId = { `${ ouiaId } -toggle` }
104+ data-ouia-component-id = { `${ ouiaId } -toggle` }
105105 splitButtonItems = { [
106106 < MenuToggleCheckbox
107107 ouiaId = { `${ ouiaId } -checkbox` }
@@ -110,9 +110,9 @@ export const BulkSelect: React.FC<BulkSelectProps> = ({
110110 aria-label = { `Select ${ allOption } ` }
111111 isChecked = {
112112 ( isDataPaginated && pagePartiallySelected ) ||
113- ( ! isDataPaginated && selectedCount > 0 && selectedCount < totalCount )
113+ ( ! isDataPaginated && selectedCount > 0 && selectedCount < totalCount )
114114 ? null
115- : pageSelected || selectedCount === totalCount
115+ : pageSelected || ( selectedCount === totalCount && totalCount > 0 )
116116 }
117117 onChange = { ( checked ) => onSelect ?.( ! checked || checked === null ? noneOption : allOption ) }
118118 { ...menuToggleCheckboxProps }
You can’t perform that action at this time.
0 commit comments