Add "type" parameter to Select2AjaxOptions (#18792)

In order to support POST ajax requests, the type option is needed. Select2 supports this, though it may not be specifically documented.
This commit is contained in:
Jessica Dennis
2017-08-14 14:58:56 -04:00
committed by Mohamed Hegazy
parent 28f4decb25
commit 2f82f7f84e

View File

@@ -24,6 +24,7 @@ interface Select2AjaxOptions {
* Url to make request to, Can be string or a function returning a string.
*/
url?: any;
type?: string;
dataType?: string;
delay?: number;
headers?: any;