AUR0172
Error Message
Description
Example Trigger
<!-- ❌ Tagged template on optional chain -->
<div textcontent.bind="tag?.fn`x`"></div>Solution
Last updated
Was this helpful?
AUR0172: Expression error: invalid tagged template on optional chain in "{{expression}}"
This error occurs when a tagged template literal is used on an optional chain, which is not supported by Aurelia’s expression parser.
<!-- ❌ Tagged template on optional chain -->
<div textcontent.bind="tag?.fn`x`"></div>Avoid tagged templates in binding expressions. Move the logic into view-model code.
Last updated
Was this helpful?
Was this helpful?