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
I don't have much information, but I'm adding 2 attributes to some components and am getting this error:
core.mjs:6362 ERROR TypeError: Cannot read properties of undefined (reading 'pipe')
at set setFocus [as setFocus] (angular-input-focus.mjs:50:15)
at setInputsForProperty (core.mjs:13120:13)
at elementPropertyInternal (core.mjs:12218:9)
at ɵɵproperty (core.mjs:14457:9)
at MyComponent_ng_container_5_Template (my.component.html:11:70)
at executeTemplate (core.mjs:11835:9)
at refreshView (core.mjs:11698:13)
at refreshEmbeddedViews (core.mjs:12747:17)
at refreshView (core.mjs:11722:9)
at refreshComponent (core.mjs:12793:13)
This is the code I'm using and it is working on some page:
Are you positive that you are returning an event emitter from focusEventEmitterMap.get? It looks like it could be null but you are masking it since you're using the non-null assertion operator:
I'm torn between being more defensive in that code or not. Because I'm assuming if you remove the non-null assertion the code will give you a compile time error, which is probably more useful than me checking for nulls there and having the code just silently fail.
I don't have much information, but I'm adding 2 attributes to some components and am getting this error:
This is the code I'm using and it is working on some page:
The error shows up on page load.
Any ideas?
The text was updated successfully, but these errors were encountered: