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
The issue is at 'const count = results.length;' typeahead.ts:360 when 'results' value is null.
The workaround is to pass empty array to items observable, but at the top of this method null is expected: 'if (!results || results.length === 0) {'
Console error:
global-error-handler.ts:37 client error: TypeError: Cannot read property 'length' of null
at SafeSubscriber._next (typeahead.js:238)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:195)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:133)
at ...
The text was updated successfully, but these errors were encountered:
Bug description:
The issue is at 'const count = results.length;' typeahead.ts:360 when 'results' value is null.
The workaround is to pass empty array to items observable, but at the top of this method null is expected: 'if (!results || results.length === 0) {'
Console error:
global-error-handler.ts:37 client error: TypeError: Cannot read property 'length' of null
at SafeSubscriber._next (typeahead.js:238)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:195)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:133)
at ...
The text was updated successfully, but these errors were encountered: