Path Picker
wcm/dialogs/components/pathpicker
Description
The Path Picker component is an input that allows the user to select the path of a resource from a repository or via an external link. If the value starts with /
the path picker will autosuggest possible values.
Properties
-
name -
string
(required)
Form field name -
label -
string
Display label value -
required -
string
Indicates if field value is mandatory -
rootPath -
string
If set, suggestions are filtered to the given root path. -
forceRootPath -
string
(if not definedfalse
)
Indicates whether the input value should be validated to start with the givenrootPath
value. -
removeIfEmpty -
string
(if not definedfalse
)
Indicates if property in JCR will be removed if it contains empty String, or will be retained with that value -
description -
string
Display description value as a tooltip -
placeholder -
string
Override the placeholder text that appears when the value is empty. -
types -
Array<string>
Filter autosuggestion path byjcr:primaryType