abstract class sap.ui.mdc.field.FieldMultiInput

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/mdc/field/FieldMultiInput
Application Component: CA-UI5-MDC

The FieldMultiInput control is used to render a multi-input field inside a control based on FieldBase.


Constructor

Constructor for a new FieldMultiInput.

The FieldMultiInput control enhances the MultiInput control to add ARIA attributes and other FieldBase-specific logic.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

new sap.ui.mdc.field.FieldMultiInput(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new control, generated automatically if no ID is given

mSettings? object

Initial settings for the new control


Properties

Name Type Default Value Description
ariaAttributes object empty object

Sets the ARIA attributes added to the MultiInput control.

The object contains ARIA attributes in an aria node. Additional attributes, such as role, autocomplete or valueHelpEnabled, are added on root level.

Visibility: public

Methods Overview

Method Description
sap.ui.mdc.field.FieldMultiInput.extend

Creates a new subclass of class sap.ui.mdc.field.FieldMultiInput with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.MultiInput.extend.

getAriaAttributes

Gets current value of property ariaAttributes.

Sets the ARIA attributes added to the MultiInput control.

The object contains ARIA attributes in an aria node. Additional attributes, such as role, autocomplete or valueHelpEnabled, are added on root level.

Default value is {}.

sap.ui.mdc.field.FieldMultiInput.getMetadata

Returns a metadata object for class sap.ui.mdc.field.FieldMultiInput.

setAriaAttributes

Sets a new value for property ariaAttributes.

Sets the ARIA attributes added to the MultiInput control.

The object contains ARIA attributes in an aria node. Additional attributes, such as role, autocomplete or valueHelpEnabled, are added on root level.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is {}.

sap.ui.mdc.field.FieldMultiInput.extend

Creates a new subclass of class sap.ui.mdc.field.FieldMultiInput with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.MultiInput.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getAriaAttributes

Gets current value of property ariaAttributes.

Sets the ARIA attributes added to the MultiInput control.

The object contains ARIA attributes in an aria node. Additional attributes, such as role, autocomplete or valueHelpEnabled, are added on root level.

Default value is {}.

sap.ui.mdc.field.FieldMultiInput.getMetadata

Returns a metadata object for class sap.ui.mdc.field.FieldMultiInput.

setAriaAttributes

Sets a new value for property ariaAttributes.

Sets the ARIA attributes added to the MultiInput control.

The object contains ARIA attributes in an aria node. Additional attributes, such as role, autocomplete or valueHelpEnabled, are added on root level.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is {}.

Param Type DefaultValue Description
oAriaAttributes object {}

New value for property ariaAttributes