ElemeFE / ElemeFE/element

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

Open
#17,222 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.12.0

### OS/Browsers version
FF 60 / Chrome 76

### Vue version
2.6.10

### Reproduction Link
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.