Currently, I am attempting to utilize ngStyle to set the background image.
<div class="artist-banner fluid-banner-wrapper" [ngStyle]="{'background-image': 'url(../imgs/banner/' + event?.category + '.jpg)' }">
The functionality seems to operate smoothly when the category consists of a single word. However, it encounters issues when there are two words in the category, resulting in a null bind.
For instance, when the category is "Formula one," the binding turns out to be null. What could potentially be causing this issue?