PreferencesFormΒΆ
-
/libs/granite/ui/components/coral/foundation/authorizable/preferencesform
A form component that set the
action
to path of preferences resource (UserPropertiesService.PREFERENCES_PATH
) of the current user. The value of themethod
attribute of this form is alwayspost
.It has the following content structure:
-
granite:AuthorizablePreferencesForm
- granite:commonAttrs
- granite:renderCondition
- granite:container
- enctypestring
The
enctype
attribute.
- targetstring
The
target
attribute.
- autocompletestring
Indicates if input elements can by default have their values automatically completed by the browser.
See also MDN documentation regarding autocomplete attribute.
- novalidateboolean
The
novalidate
attribute to indicate that the form is not to be validated when submitted.
-
stylestring
- vertical
- aligned
The layout style of the form.
- (no value)
- No style is applied.
- vertical
- The form fields (and their labels) are laid out in vertical manner.
- aligned
- The each form field is laid out side-by-side with its label.
- marginboolean
Put vertical margin to the root element.
- maximizedboolean
Make the element maximized to fill the available space.
-
granite:AuthorizablePreferencesForm