Expand my Community achievements bar.

SOLVED

when to choice pathbrowser as well as pathfield

Avatar

Level 6

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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