File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Modify the visibility of old items using CSS rules and conditionally toggle thei
4141
4242<p>@SelectedValue</p>
4343
44- @if (IsLoading == true ) {
44+ @if (IsLoading) {
4545 <style>
4646 .example-cb .k-list-item {
4747 visibility: hidden;
@@ -74,10 +74,12 @@ Modify the visibility of old items using CSS rules and conditionally toggle thei
7474</TelerikComboBox>
7575
7676@code{
77- bool IsLoading {get;set;} = false;
78- int SelectedValue { get; set; } = 1234; // pre-select an item to showcase the value mapper
7977 private TelerikComboBox<Person, int>? ComboBoxRef { get; set; }
78+ private int SelectedValue { get; set; } = 1234; // pre-select an item to showcase the value mapper
8079 private List<Person> AllData { get; set; }
80+
81+ private bool IsLoading { get; set; }
82+
8183 private async Task GetRemoteData(ComboBoxReadEventArgs args)
8284 {
8385 IsLoading = true;
You can’t perform that action at this time.
0 commit comments