You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My combobox behavior currently trigger the SelectEmailAsync twice is there anything wrong with my current configuration?
<FluentComboboxslot="end"
Items=@Users?.Select(x => x.Email).ToList()
@bind-Value="@SearchText"
TOption="string"
Height="200px"
Placeholder="Search member by email name"
Autocomplete="ComboboxAutocomplete.Both"
Multiple="false"
SelectedOptionChanged="@(async(email) => await SelectEmailAsync(email))"/>
privateasyncTaskSelectEmailAsync(stringemail){if(string.IsNullOrEmpty(email)||string.IsNullOrWhiteSpace(email)||Usersisnull)return;varuserInfo=Users.FirstOrDefault(x =>x.Email==email);if(userInfoisnull)return;awaitOpenMemberPaymentRecord(userInfo);}privateasyncTaskOpenMemberPaymentRecord(MemberWithPaymentuserInfo){foreach(varbillinuserInfo.Bills){varservices=awaitservicesRepository.GetByBillId(bill.Id.ToString());bill.BillServices=newList<BillServices>(services.Select(x =>newBillServices{BillId=bill.Id,ServiceId=x.Id,Service=x,Bill=null,}));}awaitDialogService.ShowDialogAsync<MemberPaymentRecord>(userInfo,newDialogParameters(){Title=$"{userInfo.FirstName}{userInfo.MiddleName}{userInfo.LastName}",Alignment=HorizontalAlignment.Center,OnDialogResult=EventCallback.Factory.Create<DialogResult>(this, result =>{}),Width="850px",Height="550px",TrapFocus=true,Modal=true,});}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My combobox behavior currently trigger the
SelectEmailAsync
twice is there anything wrong with my current configuration?Beta Was this translation helpful? Give feedback.
All reactions