hay-kot/homebox

Parent location with Chinese name unable to select

Opened this issue · 2 comments

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.

Homebox Version

DEMO

What is the issue you are experiencing?

I am very interested in your project and it aligns well with my needs, but when I tried to use it in the demo version, I encountered some issues.When creating a location in Chinese, if you want to select a parent location with a Chinese name, can not display location with Chinese name.
Thank you for creating this project, and I hope it continues to improve and grow.

How can the maintainer reproduce the issue?

Creating a new location with a Chinese name, and then attempting to create another location which unable to correctly select the parent location with the Chinese name.

Deployment

Other

Deployment Details

online DEMO

I just try if add any English letters first such as "D地下室“ of any number before which could be use as Parent location

I deep into frontend code, find that it seems to be a bug in lunr which hasn't been updated for 4 years.
Actually, in homebox 0.10.3, Chinese letters are OK.