Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
902 B
3
Indexable
Never
@for (var index = 0; SelectOptions.Count < index; index++)
		    {
		        var optionList = SelectOptions[index];

		        <div class="col-2">
                    <div class="select-container">
                        <img src="img/iconDrop.svg" alt="drop-icon" draggable="false"/>
                        <Select TValue="string" SelectedValue="_searchOption[index]" SelectedValueChanged="(s) => SearchOptionChangedAsync(s, index)">
                            <SelectItem Value="string.Empty">@(SelectOptionPlaceholders.Any() ? SelectOptionPlaceholders[index] : "Select")</SelectItem>
                            @foreach (var option in optionList)
                            {
                                <SelectItem Value="@option">@option</SelectItem>
                            }
                        </Select>
                    </div>
                </div>
		    }