We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa0fb73 + 1cff8d4 commit f8dda91Copy full SHA for f8dda91
1 file changed
select2.js
@@ -3233,7 +3233,7 @@ the specific language governing permissions and limitations under the Apache Lic
3233
minimumInputLength: 0,
3234
maximumInputLength: null,
3235
maximumSelectionSize: 0,
3236
- id: function (e) { return e.id; },
+ id: function (e) { return e == undefined ? null : e.id; },
3237
matcher: function(term, text) {
3238
return stripDiacritics(''+text).toUpperCase().indexOf(stripDiacritics(''+term).toUpperCase()) >= 0;
3239
},
0 commit comments