VTable is not just a high-performance multidimensional data analysis table, but also a grid artist that creates art between rows and columns.
1.43k
stars
103
forks
source link
[Bug] 自定义编辑器validateValue方法返回false时仍能点击选中其他单元格 #1974
Closed
CrabSAMA closed 2 weeks ago
Version
1.4.0
Link to Minimal Reproduction
https://visactor.io/vtable/demo/edit/custom-editor
Steps to Reproduce
https://visactor.io/vtable/demo/edit/custom-editor 在官方示例中,自定义editor实现validateValue方法,此处为了简单演示直接返回false
双击单元格进入编辑状态后,模拟校验不通过的场景(直接返回false),此时用户习惯是直接点击外层取消编辑状态。![20240624143316_rec_](https://github.com/VisActor/VTable/assets/40541269/6183cb5e-0d0f-4d7c-9cd6-76816e4476e3)
Current Behavior
现状是:不取消编辑状态,其他单元格被选中
Expected Behavior
预期是:不取消编辑状态,不选中其他单元格,保留当前编辑状态的单元格选中状态
Environment
Any additional comments?
No response