Commit Graph

13 Commits

Author SHA1 Message Date
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Jason Kaczmarsky
1d4eb8f7ca [select2] Extend from JQueryAjaxSettings (#18942)
* Extend from JQueryAjaxSettings

* Restore url and dataType
2017-08-14 13:50:13 -07:00
Jessica Dennis
2f82f7f84e 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.
2017-08-14 11:58:56 -07:00
Sergei Dorogin
1cc0cc672b [select2] JQuery plugin definition was extracted into interface to support $.select2.amd field 2017-06-28 22:29:33 +03:00
Mine Starks
f8fb8712a2 Merge pull request #17122 from AntonCholakov/patch-1
Update select2.d.ts to support some functions/props
2017-06-15 15:53:33 -07:00
Anton Cholakov
d1c74b598f Add createTag property 2017-06-14 13:50:56 +03:00
Leonard Thieu
1c3565933c :( 2017-06-13 13:00:42 -04:00
Anton Cholakov
6e5e672d92 Update select2.d.ts to support some functions/props
- disabled property of main options
- headers object, templateResult and templateSelection functions
2017-06-12 11:43:50 +03:00
Sohail Nasir
f76db61364 unable to access params term when loading via Ajax
When trying to use Select2 v4, I was unable to get the term from the
search box as the params was declared as a string
2017-04-28 21:16:33 +01:00
Sohail Nasir
dadb79cc31 data term is innaccessable using typescript
The data term might have been declared wrong, rather than it being a
string, it could be a Select2QueryOptions than in that case the term is
accessible when loading via Ajax.
2017-04-28 21:08:00 +01:00
Brandon Ayers
4bc97ff776 Update select2-tests.ts with corrected property
Updated select2-tests.ts to reflect updated Select2Options property `maximumSelectionLength`.
2017-03-28 11:26:32 -07:00
Brandon Ayers
e6f2a743f4 Select2 maximumSelectionSize to maximumSelectionLength
Renamed Select2 option maximumSelectionSize to maximumSelectionLength to match Select2 source: 062c6c3af5/src/js/select2/data/maximumSelectionLength.js (L5)
2017-03-28 10:48:56 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00