fix: #7500 Table Select All Column Header ID - #10370
Conversation
|
The lint check fails because "props.children" is included in the useMemo dependency array even though it isn't used inside the useMemo callback. However, if I remove "props.children" from the dependency array, CI tests 16, 17, and 18 fail. This indicates that it was included for a reason, even if it isn't directly referenced inside the callback. So, removing "props.children" from the useMemo dependencies is not the correct fix. |
|
What did you find when you looked into this comment? #7500 (comment) |
|
Hi @snowystinger, Thanks for reviewing this The code mentioned in the comment is used to generate the prefix ID for the parent div of the column header "Select All" checkbox. The prefix remains static, while the suffix is generated by an outer function and changes after every refresh. This suffix is also assigned as the ID of the "Select All" checkbox input element. |
Closes #7500
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project: