You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
None of the examples from the IndexTable is displaying selected text or number acually anything.
I'm trying this in my Remix with Polaris app.
I also checked that the allResourcesSelected is always false.
const { selectedResources, allResourcesSelected, handleSelectionChange } = useIndexResourceState(orders);
I don't think my code will make any difference, since all of the examples seems to have the same problem but here it is,
Summary
None of the examples from the IndexTable is displaying selected text or number acually anything.
I'm trying this in my Remix with Polaris app.
I also checked that the allResourcesSelected is always false.
const { selectedResources, allResourcesSelected, handleSelectionChange } = useIndexResourceState(orders);
I don't think my code will make any difference, since all of the examples seems to have the same problem but here it is,
and since it's a local React app, here's the index.js and app.js files also,
/src/index.js
and /src/App.js
My environment details
Expected behavior
Should display the selected text like -
1 selected
2 selected
...
All
Actual behavior
selectedItemsCount is always empty, not displaying anything at all.
Steps to reproduce
Link to sandbox
1.
2.
3.
Are you using React components?
Yes
Polaris version number
13.9.0
Browser
Chrome
Device
MacBook
The text was updated successfully, but these errors were encountered: