We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OnSelectedItemChanged get's triggered twice when clicking an item with the mouse or using the Enter button:
<TypeaheadInput id="in1" class="form-control bg-dark" placeholder="@("Add Item ...")" @ref="refAddItemInput" Data="DataProvider.Items" LabelPropertySelector="x => x.Name" @bind-Value="@AddItemInput" SelectOnBlur="false" OnInput="@(text => {SelectedItemToAdd = null; typeaheadInputValue = text;})" TItem="Item" OnSelectedItemChanged="OnAddItem"> <ItemTemplate> <div> <label>@context.Name</label> </div> </ItemTemplate> </TypeaheadInput> ... private void OnAddItem(Item item) { Model.AddItemToActiveStash(item); }
The text was updated successfully, but these errors were encountered:
Hi @AncientGrief, sorry for the late answer I was sick.
Yes checked it and it looks there is a double event triggering for OnSelectedItemChanged. Will resolve this in next release. Thanks.
OnSelectedItemChanged
Sorry, something went wrong.
majorimi
Successfully merging a pull request may close this issue.
OnSelectedItemChanged get's triggered twice when clicking an item with the mouse or using the Enter button:
The text was updated successfully, but these errors were encountered: