Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151155 | Feb 1,2020 06:12 PM UTC | Feb 4,2020 11:48 AM UTC | Blazor | 3 |
![]() |
Tags: MultiSelect Dropdown |
<EjsMultiSelect @ref="@multiObj" TValue="List<string>" @bind-Value="@MultiSelectID" DataSource="@DataList"
Mode="VisualMode.Box" Placeholder="Enter the value" AllowFiltering=true FilterType="FilterType.Contains"
FloatLabelType="FloatLabelType.Auto">
<MultiSelectEvents TValue="List<string>" ValueChange="@(e => MultiSelectID = e.Value)"></MultiSelectEvents>
</EjsMultiSelect>
@code{
public string TxtValue {
get { return _txtVal; }
set {
if (value == "foo") {
MultiSelectID = null;
DataList = new ObservableCollection<string> { "Four", "Five" };
}
_txtVal = value;
}
}
}
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.