Key with '/' causing issues
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?
Indeed it's not possible with the current implementation.
One solution can be create an optional prop keySeparator with the default value "/".
Should be very simple and straightforward. PR welcome 😉
@PRGfx thanks for working on this!
@iannbing It looks like everything is here for the PR to be merged. Is it possible to complete this pull request?
@iannbing, is it possible to merge this PR?