Skip to main content

getItem()

gives access to the object of Form control

getItem(name: string): any;

Parameters:

name|id: string - the name of a Form control or its id (if the name attribute is not defined in the config of the control)

Returns:

The object of the control.

Example

form.getItem("colorpicker").setValue("#02F7C6");

Change log:

added in v6.2