iannbing / iannbing/react-simple-tree-menu

Key with '/' causing issues

Open
#162 3 comments 1 reaction 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
138
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I have come across a situation in some of my data where a key has the `/` character in it. I want to dig into this further but it seems like this could be a blocker with the current code.
EG:
```
{ parent: 'Furniture|Bookcases|Bush', 
label: 'Bush Andora Bookcase, Maple/Graphite Gray Finish', 
key: 'Furniture|Bookcases|Bush|Bush Andora Bookcase, Maple/Graphite Gray Finish', 
}
```

Any thoughts or recommendations for how to work around this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.