tagTemplate

defines template of input values

function tagTemplate;

Example

{ view:"multicombo", tagMode:false, tagTemplate: function(values){
    return (values.length? values.length+" item(s) selected":"");
}}

Related samples

Details

The setting should be coupled with tagMode disabled, otherwise the titles of the chosen values will be displayed in the input field.

By default, tagTemplate shows the count of the chosen values as "Two item(s)".

See also
Back to top