Hello,
I have a fileupload field in my dialog which will, when clicked on browse, display selection path that i predifined(wanted behaviour).
The default behaviour is to display everyhting in dam path but i would like to make author only browse from my path like /content/dam/project. I know this is possible with rootPath on some other components. I could use granite/ui/components/coral/foundation/form/pathbrowser for this(with rootPath), but the problem is that pathbrowser doesnt have image preview(thumbnails) next to asset name. Is there any way to achieve this?
Thanks,
Luka
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @luka2, you can use granite/ui/components/coral/foundation/form/pathfield. It should meet all your needs:
Here is example of pathfield usage with rootPath set to /content/dam
Please also be aware that pathbrowser is deprecated and pathfield should be use instead.
Hi @luka2, you can use granite/ui/components/coral/foundation/form/pathfield. It should meet all your needs:
Here is example of pathfield usage with rootPath set to /content/dam
Please also be aware that pathbrowser is deprecated and pathfield should be use instead.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies