Skip to content
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

键盘导航isDel和isBack问题 #2526

Open
1 task done
zkzgs opened this issue Aug 19, 2024 · 0 comments
Open
1 task done

键盘导航isDel和isBack问题 #2526

zkzgs opened this issue Aug 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zkzgs
Copy link

zkzgs commented Aug 19, 2024

可复现的链接(包含复现链接与示例代码):

https://codesandbox.io/p/sandbox/vxe-table-wen-ti-yan-shi-forked-6q2sjr

问题描述与截图:

已升级最新版本
官方案例也可以看到keyboardConfig的一些问题: https://vxetable.cn/v4.6/#/table/edit/keyboard

  1. 设置isDel和isBack后, 删除了没有editRender的数据,这些数据应该是只读不可修改的
  2. 当beforeEditMethod为false时del和back也可以删除数据,这是不对的
  3. 按back后会同时执行delMethod和backMethod两个方法,del只会执行delMethod

也希望添加一些别的操作
比如实现editMethod自定义实现聚焦输入框并且聚焦全选中文本,而不直接对数据操作后再聚焦,现在的写法很麻烦,需要还原数据再激活单元格
因为目前输入中文拼音是有问题的,第一个单词是无法触发输入法的,所以考虑compositionstart事件自行实现
是否可以优化
期望:
表格操作
目前:
目前

期望的结果:

No response

操作系统:

window 11

浏览器版本:

Chrome 127.0.6533.120

vue 版本:

3.2.33

vxe-pc-ui 版本:

5.0.94

vxe-table 版本:

4.7.65

是否使用当前最新版本?

  • 我已确认是使用当前的最新版本并已按要求提供复现链接与示例代码。
@zkzgs zkzgs added the bug Something isn't working label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant