Skip to content

Pathbrowser

This component generates a path browser field to be used in the author dialog. The path browser field’s value is passed to the component as a prop.

Properties

PropertyTypeDescriptionDefault ValueRequired
labelstringThe label of the path browser componentYes
placeholderstringPlaceholder text for the path browser fieldYes
tooltipstringTooltip text for the path browser fieldNo
defaultValuestringDefault value for the path browser componentNo

Example

To use a path browser component in the author dialog, we can use the following code:

{
link: pathbrowser({
label: 'Link',
placeholder: 'Select a path',
tooltip: 'The path of the component',
defaultValue: '/default/path',
})
}

Example in author dialog

Path Browser Component Path Browser Component