Mixed ng.AutoComplete.get_selected () vs. 1.1.0 Full+Lite

Gets the select option.

Return

Mixed Required vs. 1.1.0 Full+Lite
The auto complete component value. If one option was selected and the value and display text are the same, a String will be returned (the value). Otherwise, an object with value and text will be return (e.g. {value:'my value', text:'my text'}) For multiple selection with more than one value, an array of all the selected values in an array (e.g. [{value:'my value', text:'my text'}, {value:'my value', text:'my text'}]).

API Menu