Skip to main content
manikanthar1295
Level 5
April 19, 2019
Solved

when to choice pathbrowser as well as pathfield

Hi,

Need to know what is difference between

granite/ui/components/foundation/form/pathbrowser

granite/ui/components/coral/foundation/form/pathfield

when we need choice pathbrowser as well as pathfield

Regards

Manikantha R

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
Community Advisor
April 19, 2019

Hi,

According to my understanding -

Pathfield - should be used to pick link target for href, wherever you don't need to browse/see resource preview

Pathbrowser - should be used to pick assets. It allows previewing resource.

it is recommended to use Granite(Coral3) resource type over coral2.

Coral2 - granite/ui/components/foundation/form/pathbrowser

Granite - granite/ui/components/coral/foundation/form/pathfield

Arun Patidar

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 19, 2019

Hi,

According to my understanding -

Pathfield - should be used to pick link target for href, wherever you don't need to browse/see resource preview

Pathbrowser - should be used to pick assets. It allows previewing resource.

it is recommended to use Granite(Coral3) resource type over coral2.

Coral2 - granite/ui/components/foundation/form/pathbrowser

Granite - granite/ui/components/coral/foundation/form/pathfield

Translate
Arun Patidar