Hi,
New in SmartStore Customization...
I try to implement a new DropDown list to select some value when creating a new Address during Checkout.
I want that DropDown list searchable like the Country one.
When trying to implement it in "_CreateOrUpdateAddress" (by copy pasting elements related to Country ), I get my list working properly, but without Search box into it.
Sample code :
<div class="form-group row"> @Html.LabelFor(model => model.SelectedAddressId, new { @class = "col-{0}-3 col-form-label".FormatInvariant(breakpoint) }) <div class="col-@breakpoint-9"> @Html.DropDownListFor(model => model.SelectedAddressId, Model.AvailableAddresses, new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.SelectedAddressId) </div> </div>
When replacing "Model.AvailableAddresses" by "Model.AvailableCountries", the search box appears...
What did I miss ?
Thanks for your help.