Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

when to choice pathbrowser as well as pathfield

manikanthar1295
Level 4
Level 4

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
Arun_Patidar
Correct answer by
Community Advisor
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

View solution in original post

1 Reply
Arun_Patidar
Correct answer by
Community Advisor
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

View solution in original post