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

ntree filter search - Cannot read properties of undefined (reading 'toLowerCase') #2960

Closed
clabnet opened this issue May 17, 2022 · 0 comments · Fixed by #2962
Closed

ntree filter search - Cannot read properties of undefined (reading 'toLowerCase') #2960

clabnet opened this issue May 17, 2022 · 0 comments · Fixed by #2962
Labels
bug Something isn't working

Comments

@clabnet
Copy link

clabnet commented May 17, 2022

TuSimple/naive-ui version (版本)

2.29.0

Vue version (Vue 版本)

3.2.34-beta.1

Browser and its version (浏览器及其版本)

Chrome Version 101.0.4951.54 (Official Build) (64-bit)

System and its version (系统及其版本)

Windows 10 pro en

Node version (Node 版本)

16.14.0

Reappearance link (重现链接)

https://codesandbox.io/s/ntree-filter-issue-naive-ui-36d8k3

Reappearance steps (重现步骤)

The issue is related to https://www.naiveui.com/en-US/os-theme/components/tree page,
Search . Tree accept pattern and filter to do searching.
The codesandbox was forked from your sample. Only difference is the data values.
When I try to search a string, the issue happen "Cannot read properties of undefined (reading 'toLowerCase')".

Expected results (期望的结果)

Filter data with search input value

Actual results (实际的结果)

Cannot read properties of undefined (reading 'toLowerCase')

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label May 17, 2022
jizai1125 added a commit to jizai1125/naive-ui that referenced this issue May 18, 2022
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels May 18, 2022
jizai1125 added a commit to jizai1125/naive-ui that referenced this issue May 18, 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

Successfully merging a pull request may close this issue.

2 participants