You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tom-select.ts:2244 Uncaught TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.
at J.insertAtCaret (tom-select.ts:2244:10)
at J. (tom-select.ts:1858:9)
at R (utils.ts:87:5)
at J.addItem (tom-select.ts:1829:3)
at J.onOptionSelect (tom-select.ts:838:10)
at HTMLDivElement. (tom-select.ts:297:10)
Expected behavior
new TomSelect('#select-state',{
valueField: 'label',
labelField: 'label',
searchField: ['label','type'],
// fetch remote data
load: function(query, callback) {
var self = this;
if( self.loading > 1 ){
callback();
return;
}
Bug description
tom-select.ts:2244 Uncaught TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.
at J.insertAtCaret (tom-select.ts:2244:10)
at J. (tom-select.ts:1858:9)
at R (utils.ts:87:5)
at J.addItem (tom-select.ts:1829:3)
at J.onOptionSelect (tom-select.ts:838:10)
at HTMLDivElement. (tom-select.ts:297:10)
Expected behavior
new TomSelect('#select-state',{
valueField: 'label',
labelField: 'label',
searchField: ['label','type'],
// fetch remote data
load: function(query, callback) {
var self = this;
if( self.loading > 1 ){
callback();
return;
}
Steps to reproduce
...
X. See error
Additional context
The text was updated successfully, but these errors were encountered: