[bug] List view search field becomes disabled when search returns no results, interrupting IME input

Open Beginner friendly
#10,097 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ltxhhz is already working on this.

Since Nov 15, 2026.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Domain
frontend

Research direction

Start at packages/core/src/admin-ui/pages/ListPage/index.tsx around lines 378-382 where isConstrained is computed from filters.length and query.search, and trace how that value disables the search input. Add searchString to the expression as proposed so the field stays enabled while a query is typed but unsynchronized to the URL. Done looks like: typing a zero-result query no longer disables or blurs the field, verified by running the ListPage admin-ui tests or reproducing in a local Admin UI with an IME.

Written by the indexing model from the issue text.

Description

Describe the bug

The search field on the Admin UI list page
becomes disabled when the current search
returns no results.

This causes the input to lose focus and
interrupts IME composition, making it
difficult or impossible to search using
Chinese, Japanese, or Korean input methods.

Steps to reproduce

  1. Open any list page in the Admin UI.
  2. Enter a search term that has no matches.
  3. Continue typing in the search field.

Expected behavior

The search field should remain enabled
while a search query is present, even if
the query returns zero results.

Actual behavior

The search field becomes disabled when
the result count is zero and no URL search
parameter has been synchronized yet.

This causes the input to lose focus and
interrupts IME composition.

Environment

  • Keystone: 8.3.0
  • Next.js: 16.0.0
  • Browser: Chrome / Edge
  • OS: Windows
  • Input method: Microsoft Chinese IME

Proposed fix

In ListPage/index.tsx, include the current
searchString in the isConstrained check:

Before:
https://github.com/keystonejs/keystone/blob/3101ebcf7f1e24db30a6fbf63f2d1ae9fdd20aaa/packages/core/src/admin-ui/pages/ListPage/index.tsx#L378-L382

After:

const isConstrained = Boolean(filters.length || query.search || searchString)
Dominant language
TypeScript
Stars
10k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from keystonejs/keystone

All issues in keystonejs/keystone

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.