@model PantheonRA.BackOffice.Models.InputWithSelectModel

<div class="inputSelectContainer">
    <select class="form-control custom-select inputSelect" id="@Model.SelectId" @(Model.IsDisabled ? "disabled" : string.Empty)
            onchange="document.getElementById('@Model.Id').value=this.options[this.selectedIndex].value; formatNumberInput($('#@Model.Id'));">
        @foreach (var item in Model.Items)
        {
            <option value="@item.Id">@item.Name</option>
        }
    </select>
    <input class="form-control numberInput inputOnSelect" name="@Model.Id" autocomplete="off" id="@Model.Id" onfocus="this.select()" type="text" step="@Model.Step" @(Model.IsDisabled ? "readonly" : string.Empty)>
</div>