I'm working on a component in which I want to add/allow multiple rootPath for Pathfield/Path browser. The rootPath is String type only & can't take multiple strings. I found this old question but it's not working for me. So, can you please suggest any workaround for this?
there's no out-of-the-box solution to have multiple root paths. you'll have to write some logic to fulfill your requirement.
you can mimic the behavior of List component's (core component) build-your-list-by method, to show and hide the root paths for different selections, to have respective root paths.
there's no out-of-the-box solution to have multiple root paths. you'll have to write some logic to fulfill your requirement.
you can mimic the behavior of List component's (core component) build-your-list-by method, to show and hide the root paths for different selections, to have respective root paths.