<div class="interaction-type pull-left clearfix">
<span class="pull-left margin-r-10">@T("Admin.Promotions.Discounts.Requirements.InteractionTypeInGroup")</span>
<select class="form-control input-sm pull-left" id="interactiontype{{= DiscountRequirementId }}" name="interactiontype{{= DiscountRequirementId }}"
onchange="changeInteraction({{= DiscountRequirementId }}, ${ParentId ? ParentId : 'null'}, this.value)">
{{each AvailableInteractionTypes}}
{{if Selected}}
<option value="${Value}" selected>${Text}</option>
{{else}}
<option value="${Value}">${Text}</option>
{{/if}}
{{/each}}
</select>
I am using VS2019 16.5.4 and this particular section throws quite some errors.
\_CreateOrUpdate.Requirements.cshtml:197 ',' or '}' or property name is expected
\_CreateOrUpdate.Requirements.cshtml:197 ',' or '}' or property name is expected
\_CreateOrUpdate.Requirements.cshtml:197 Unexpected token
\_CreateOrUpdate.Requirements.cshtml:197 Unexpected token
\_CreateOrUpdate.Requirements.cshtml:197 ; expected
\_CreateOrUpdate.Requirements.cshtml:197 Unexpected token
\_CreateOrUpdate.Requirements.cshtml:197 ; is expected
\_CreateOrUpdate.Requirements.cshtml:214 ',' or '}' or property name is expected
\_CreateOrUpdate.Requirements.cshtml:214 ',' or '}' or property name is expected
\_CreateOrUpdate.Requirements.cshtml:214 Unexpected token
\_CreateOrUpdate.Requirements.cshtml:214 Unexpected token
Can I ignore these error messages or does this section need adjustment? Please do provide a solution since I am not that well-versed in JS/TS. Thanks in advance for your help.