-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
改进条目过滤与数据库更新 #12270
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用户一新增条目这个条目就被过滤掉,变成一个看不见的空白条目,这个操作完全没有意义。
我建议不要直接过滤掉,而是等用户填完主键之后再判断。或者更广义地说,应该等待用户编辑完单元格之后才能根据更新后的单元格数据更新数据库 DOM (或者说当存在单元格输入框/浮窗时,需要阻止数据库 DOM 更新,等到完成编辑时再更新)。
这样就能解决以下问题:
比如这个主键就没法编辑,条目不显示之后就留下一个没用的输入框:
default.webm
再比如这个多选,条目不显示之后就不能响应了:
default.webm
还有一点:
关联 #11100 (comment)
The text was updated successfully, but these errors were encountered: