Search bar in UI Admin List view doesn't work
See original GitHub issueBug report
Describe the bug
The Search component in the UI Admin List View is unresponsive. When user attempts to interact with it, React throws the following error:
Warning: Cannot update a component (`Search`) while rendering a different component (`Search`).
To locate the bad setState() call inside `Search`, follow the stack trace as described in
https://fb.me/setstate-in-render
System information
This happens on MacOS Catalina Chrome. Current Keystone installs look like this
"@keystonejs/adapter-mongoose": "^5.2.1",
"@keystonejs/app-admin-ui": "^5.9.2",
"@keystonejs/app-graphql": "^5.1.2",
"@keystonejs/auth-password": "^5.1.2",
"@keystonejs/fields": "^7.0.0",
"@keystonejs/keystone": "^6.0.1",
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to fix Search Bar functionality in a List View?
If you are still stuck, try removed all the filter code in the adapter. Then in PersonInfo class, override toString() method to return...
Read more >Search List Views in Lightning Experience - Salesforce Help
You can search for records in a list view using the list view search box. Click the search box or use the keyboard...
Read more >[Meta] Admin UI Searching · Issue #2692 · keystonejs/keystone
"simple search"); Search bar in UI Admin List view doesn't work #2613 Search bar in UI Admin List view doesn't work
Read more >Configure the list layout - Product Documentation | ServiceNow
You can configure a list to choose which columns appear in a list, create list views, and create fields on the table.
Read more >Fix site display issues with Compatibility View in Internet ...
Sometimes websites don't look like you expect them to—images might not appear, menus might be out of place, and text could be jumbled...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, apparently the second warning (“Cannot update a component from inside…”) was introduced in React 16.13.0. I’ve tracked it down to the
useQuery
call inuseListQuery
… Investigating. Turns out it’s a separate issue from the Tooltip one, so leave this open for the Search problem.The more detailed error with React 16.13.1.