# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.MultiAutoComplete
Search:
Filters Show Private Show Protected Show Deprecated

## Class inputEx.MultiAutoComplete - extends inputEx.AutoComplete

Known Subclasses:
  inputEx.MultiAutoCompleteCustom

Create a multi autocomplete field

### Constructor

inputEx.MultiAutoComplete `( options )`

Parameters:
  `options <Object>` Added options:

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### getState

`void getState ( )`
Return (stateEmpty|stateRequired) if the value equals the typeInvite attribute

#### getValue

`Any getValue ( )`
Return the value

Returns: `Any`
  an array of selected values

#### itemSelectHandler

`void itemSelectHandler ( )`
Handle item selection in the autocompleter to add it to the list

#### onChange

`void onChange ( e )`
onChange event handler

Parameters:
  `e <Event>` The original 'change' event

#### renderComponent

`void renderComponent ( )`
Build the DDList

#### setOptions

`void setOptions ( )`
Additional options

#### setValue

`void setValue ( value , [sendUpdatedEvt] )`
Set the value

Parameters:
  `value <String>` The value to set
  `[sendUpdatedEvt] <boolean>` (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

#### validate

`void validate ( )`
TODO : how to validate ?

#### Methods inherited from inputEx.Field:

`clear, close, destroy, disable, displayMessage, enable, fireUpdatedEvt, focus, getEl, getParentField, getState, getStateString, getValue, hide, initEvents, isDisabled, isEmpty, onBlur, onChange, onFocus, render, renderComponent, setClassFromState, setFieldName, setOptions, setParentField, setValue, show, validate`

#### Methods inherited from inputEx.AutoComplete:

`buildAutocomplete, getValue, initEvents, itemSelectHandler, onChange, renderComponent, setOptions, setValue`

#### Methods inherited from inputEx.StringField:

`disable, enable, focus, getStateString, getValue, initEvents, isDisabled, onFocus, renderComponent, setClassFromState, setFieldName, setOptions, setValue, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.