Working with a html select element with 4D as can be seen below. On load, If user has a bankID, I wasn't able to make the chosen bank as selected, despite having it on memory already. 4D is on version 16.3. It seems like the browser is ignoring the 4DIF altogether.
<select style="width:100%;" id="bank_list" class="form-control input-sm" tabindex="0" name="bank">
<option></option>
<!--4DLOOP [Bank]-->
<option value="<!--4DVAR [Bank]ID-->" <!--4DIF ([User]BankID=[Bank]ID)--> selected="selected" <!--4DENDIF--> ><!--4DVAR [FinvoiceFactoring]PartyName -->
</option>
<!--4DENDLOOP -->