inputEx - MultiAutoComplete Usage

Basic MultiAutoCompleteCustom creation

Use the following code to create a basic inputEx MultiAutoComplete. (note: this example doesn't work offline)

      var field = new Y.inputEx.MultiAutoCompleteCustom(	{
				      label: 'Tags',
				      parentEl: 'container1',
				      maxItems:6,
				      uniqueness: true,
				      maxItemsAlert:function(){alert("You're limited to 6 tags")},
				      // autocompleter options
				      autoComp: {
				        forceSelection: true,
				        minQueryLength: 2,
				        maxResultsDisplayed: 50,
				        source: ["tag1","tag2","tag4","tag25"]
				      }
				    });

		var logDiv = inputEx.cn('div', null, null, "");
		Y.one('#container1').appendChild(logDiv);

		field.on("updated",function(v) {
			var value = Y.JSON.stringify(v);
			logDiv.appendChild( inputEx.cn('div',null,null,"Updated at "+(new Date())+" "+value) );
		});