# inputEx-library

### inputEx 0.5.1

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

## Class inputEx.MultiAutoCompleteCustom - extends inputEx.MultiAutoComplete

Create a multi autocomplete field customized

### Constructor

inputEx.MultiAutoCompleteCustom `( options )`

Parameters:
  `options <Object>` Added options:
  - maxItems: the number of Items
  - maxItemsAlert: a function executed when the maxItems is reach

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### onAdd

`void onAdd ( )`
onAdd : fired when someone click on the field button

- Add an element to the list from the value of the field

#### onBlur

`void onBlur ( )`
onBlur : Override the onBlur of MultiAutocomplete to fix a bug with the blurEvent in InputEx 0.5.0

#### onChange

`void onChange ( )`
onChange : Override the onChange of MultiAutoocmplete to fix a bug with the blurEvent in InputEx 0.5.0

- Add an element to the list from the value of the field

#### renderComponent

`void renderComponent ( )`
renderComponent : override the MultiAutocomplete renderComponent function

- Use the custom ddlist
- render a Button "Add" to add non-autocomplete elements to the list

#### 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.StringField:

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

#### Methods inherited from inputEx.AutoComplete:

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

#### Methods inherited from inputEx.MultiAutoComplete:

`getState, getValue, itemSelectHandler, onChange, renderComponent, setOptions, setValue, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.