galenwilk
galenwilk
I'm seeing the same error on a recently generated MFE Angular application running on nx 14.8.2.
@PierBover just make sure you've enabled the `autoselect: true` option when initializing your typeahead. Then in the `typeahead.js` source replace the existing `getDatumForSuggestion` function with the one above.
I am also having this issue using the Angular CLI and building with AOT. Building without AOT seems to attach the token as expected.
Turns out my problem was also related to not configuring my domains whitelist correctly for prod builds. Make sure to check your whitelists.