element [Bug Report] Table column sort not handle null or undefined value correctly

4ktjp1zp  于 2022-11-02  发布在  其他
关注(0)|答案(2)|浏览(125)

Element UI version

2.12.0

OS/Browsers version

FF 60 / Chrome 76

Vue version

2.6.10

https://jsfiddle.net/14rey29c/

Steps to reproduce

Sort table column which contain null or undefined or empty values

What is Expected?

Rows with null or undefined or empty values should be at the end or the beginning of the table, depending on the sort direction

What is actually happening?

Rows with null or undefined or empty values aren't sorted and seem to be at randomly position

q9rjltbz

q9rjltbz1#

When will the linked fix be incorporated?

voase2hg

voase2hg2#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题