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
That will check if _settings exists, but not whether fail is defined on that object. A more correct version (we can assume _settings exists here since it has a url we've already requested): this._settings.fail?.(err);
The text was updated successfully, but these errors were encountered:
If an XHR request fails without a defined
fail
handler, the following error is thrown:fail is not a function
It looks like the XHR failure code doesn't check whether
fail
is actually defined in the settings object:bootstrap-autocomplete/src/resolvers.ts
Line 79 in d9701bf
That will check if
_settings
exists, but not whetherfail
is defined on that object. A more correct version (we can assume_settings
exists here since it has aurl
we've already requested):this._settings.fail?.(err);
The text was updated successfully, but these errors were encountered: