AutocompleteΒΆ
-
/libs/granite/ui/components/coral/foundation/authorizable/autocomplete
An autocomplete field that is designed to allow the user to pick the authorizable from suggested list.
It extends
Field
component.It has the following content structure:
-
granite:AuthorizableAutocomplete
- granite:FormField
- namestring
The name that identifies the field when submitting the form.
- emptyTextstring
- i18n
A hint to the user of what can be entered in the field.
- disabledboolean
Indicates if the field is in disabled state.
- requiredboolean
Indicates if the field is mandatory to be filled.
- validationstring
- multiple
The name of the validator to be applied. E.g.
foundation.jcr.name
. See validation in Granite UI.
- multipleboolean
Indicates if the user is able to select multiple selections.
- forceSelectionboolean
Indicates if the user must only select from the list of given options. If it is not forced, the user can enter arbitrary value.
-
deleteHintboolean
- true
true
to generate the SlingPostServlet @Delete hidden input based on the field name.
-
valueTypestring
- id
- id
- path
- principalname
The type of value to be submitted:
- id
- Use authorizable ID
- path
- Use authorizable home path
- principalname
- Use principal name
-
selectorstring
- all
- all
- user
- group
The selector of authorizable:
- all
- Show all authorizables
- user
- Show only users
- group
- Show only groups
-
serviceUserFilterstring
- exclude
- off
- includeonly
- exclude
Filter for service user:
- off
- Turn off the filter to show all users
- includeonly
- Include only the service users
- exclude
- Exclude the service users
-
impersonableUserFilterstring
- off
- off
- includeonly
- exclude
Filter for impersonable user:
- off
- Turn off the filter to show all users
- includeonly
- Include only the users that can be impersonated by the current user
- exclude
- Exclude the users that can be impersonated by the current user
-
granite:AuthorizableAutocomplete