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

Table组件编辑单元格,当editComponent为NInputNumber时,监听输入变化失效 #152

Open
TheYon opened this issue Jul 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@TheYon
Copy link

TheYon commented Jul 22, 2022

问题:当在 columns 里设置某列可编辑时,设置 editComponent:”NInputNumber“ 监听无效
解决:
应该是 Naive-UI 对于 NInputNumber 组件是无 on-input 事件,
可在 Table 组件的 componentMap 文件里改动枚举 EventEnum
NInputNumber = 'on-input' ==> NInputNumber = 'on-update:value'

@jekip
Copy link
Owner

jekip commented Jul 22, 2022

nice,非常细心,被你发现了一个bug

@jekip jekip added the bug Something isn't working label Jul 26, 2022
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

2 participants