Skip to content

The text field with the hasMany option enabled is not compatible with CJK IME input #12427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rktyt opened this issue May 16, 2025 · 0 comments
Labels
area: ui Related to the admin panel. status: needs-triage Possible bug which hasn't been reproduced yet

Comments

@rktyt
Copy link

rktyt commented May 16, 2025

Describe the Bug.

The handling of Tab and Enter key presses is inadequate, resulting in unintended behavior.

I'm using Google's Japanese Input Method Editor (IME) available at https://www.google.co.jp/ime/ for text input.
In Chrome 136.0.7103.114, pressing the Enter key while using Japanese input causes the input value to be duplicated like this.

2025-05-16.12.58.39.mov

When the Tab key is pressed, it is supposed to select a conversion candidate, but instead, the input is being confirmed as shown below.

2025-05-16.12.59.01.mov

Note: The behavior may differ depending on the browser. As for Firefox, it is currently working as expected.

Reproduction Steps

fields: [
  {
    name: 'options',
    label: '選択肢',
    type: 'text',
    hasMany: true,
    localized: true,
  },
]

And use an IME for CJK input.

If you also consider the following information, it should be possible to reproduce and fix the issue.

Environment Info

Payload: 3.38.0
Node.js: 22.12.0
Next.js: 15.3.2
@rktyt rktyt added status: needs-triage Possible bug which hasn't been reproduced yet area: ui Related to the admin panel. labels May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui Related to the admin panel. status: needs-triage Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

1 participant