Merge pull request #12905 from richrout/patch-2

select2 templateSelection method signature
This commit is contained in:
Andy
2016-12-27 16:33:49 -05:00
committed by GitHub
+1 -1
View File
@@ -76,7 +76,7 @@ interface Select2Options {
/**
* Template can return both plain string that will be HTML escaped and a jquery object that can render HTML
*/
templateSelection?: (object: Select2SelectionObject) => any;
templateSelection?: (object: Select2SelectionObject, container: JQuery) => any;
templateResult?: (object: Select2SelectionObject) => any;
language?: string | string[] | {};
selectOnClose?: boolean;