fix: allow spaces in table quick-edit inputs by dvd233 · Pull Request #21525 · baidu/amis · GitHub
Skip to content

fix: allow spaces in table quick-edit inputs - #21525

Open
dvd233 wants to merge 1 commit into
baidu:masterfrom
dvd233:codex/fix/quickedit-input-space-12123
Open

dvd233 wants to merge 1 commit into
baidu:masterfrom
dvd233:codex/fix/quickedit-input-space-12123

Conversation

@dvd233

@dvd233 dvd233 commented Sep 19, 2026

Copy link
Copy Markdown

Summary

Allow spaces to be entered in input-text and textarea controls inside input-table quick edits.

The keypress handler was checking the tag name of the quick-edit container rather than the actual event target, so text inputs were treated as non-input table cells and space was prevented.

Regular quick-edit cells still intercept Space for keyboard activation.

Testing

  • QuickEdit and input-table suites: 18 passed
  • Snapshots: 6 passed
  • ESLint for changed tests: passed
  • Prettier: passed
  • git diff --check: passed

Fixes #12123

@github-actions

Copy link
Copy Markdown

@github-actions github-actions Bot added the fix label Sep 19, 2026
tomasky added a commit to tomasky/amis that referenced this pull request Sep 27, 2026
- QuickEdit: handleWindowKeyPress 误用包裹元素 tagName 判断,导致快速编辑输入框内空格被拦截
- ListStore.reset: 拖拽后未还原数组顺序,moved 归零但展示顺序仍为拖拽后顺序
- condition-builder: 拖拽读取 props 而非当前草稿 value/onChange,非内嵌 Picker 下排序丢失

同步自社区 PR baidu#21525 / baidu#21517 / baidu#21519

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6.12.0版本input-table中使用input-text和textarea组件无法输入空格

1 participant