<select id="Test" TestAttr="{{:LocationId}}"> {{for #parent.parent.data.Location}} <option value="{{:LocationId}}" {{if LocationId= *#parent.parent.data.LocationId*}}selected{{/if}}>{{:#parent.parent.data.LocationId}}</option> {{/for}} </select>
How to get the parent array of LocationId inside an if statement that is mentioned between **.
source share