inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.MultiAutoComplete 0.2.2

## Static Class inputEx.MultiAutoComplete - extends inputEx.AutoComplete

Create a multi autocomplete field

### Constructor

inputEx.MultiAutoComplete `( options )`

Parameters:
  `options <Object>` - Added options:

### Methods

#### getState

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

#### getValue

`<Any> getValue()`
Return the value
Returns:

`<Any>` the selected value from the selectValues array

#### itemSelectHandler

`itemSelectHandler(sType,aArgs)`
Parameters:

`sType`

`aArgs`

#### onChange

`onChange(e)`
onChange event handler
Parameters:

`e <Event>` - The original 'change' event

#### renderComponent

`renderComponent()`
Build the DDList

#### setValue

`setValue(value[,sendUpdatedEvt])`
Set the value
Parameters:

`value <String>` - The value to set

`sendUpdatedEvt <boolean>` optional - (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

#### validate

`validate()`
TODO : how to validate ?

#### Methods inherited from class inputEx.StringField:

`updateTypeInvite, disable, enable, onFocus, focus, onKeyUp, onKeyPress, setClassFromState, getStateString,`

#### Methods inherited from class inputEx.AutoComplete:

`setOptions, buildAutocomplete, initEvents,`

Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:31 GMT using neyricjslibs-template.