49589611ee
The `createTag` option does allow for `null` to be returned if a tag should not be created. The tokenizer previously didn't support this, so the tokenizer should be able to handle this case. Previously it would trigger an exception, because the tokenizer would pass back a null value to the select function. This also fixes what would have been a potential bug where even if a tag was not created, the term would still have been sliced at the location of the token. This allows for tokenizers to have special cases when tokenizing the term, such as not splittting a token if it is in the middle of a quoted string. This closes https://github.com/select2/select2/issues/3593 This closes https://github.com/select2/select2/pull/3591 |
||
---|---|---|
.. | ||
select2 | ||
banner.end.js | ||
banner.start.js | ||
jquery.mousewheel.shim.js | ||
jquery.select2.js | ||
jquery.shim.js | ||
wrapper.end.js | ||
wrapper.start.js |