Commit Graph

5 Commits

Author SHA1 Message Date
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