inputEx-library

inputEx  0.7.1

inputEx-library > inputEx > inputEx.MultiAutoCompleteCustom
Search:
 
Filters

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:

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

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.