-
-
Notifications
You must be signed in to change notification settings - Fork 12
Remote-filtered async search #240
New issue
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
Conversation
c9a08df to
c416537
Compare
|
@h0lg Thanks for improving this sample. I would be happy to merge as it is . |
…leteBox.ValueMemberBinding in with other Attributes and extensions for reuse
to enable accessing it without access to the model
…d searches by tracking and cancelling them using a separate CTS
|
@edgarfgp I have also moved the generic |
|
@edgarfgp Thanks for looking into this with me and improving the new extensions by adding parameter doco and simplifying! The merged sample contains a fair amount of code left over from unsuccessful attempts to preserve tree node expansion and/or selection. I'll review and clean them up in a follow-up PR. |
Hey Fabulous Avalonia team,
in this PR I've refactored multi-binding a property into a generic and that of the
AutoCompleteBox.ValueMemberBindinginto a specific extension allowing to set the format and property names used in theMultiBindingand itsConvertereasily.I also added an example of a remote-filtered async search to raise an issue about some erratic behaviour I noticed:
If you try completely new search terms in quick succession, you'll notice that the dropdown sometimes gets populated with results for your previous searches. You'll find some debugging in place that hopefully helps demonstrate what happens.
Thank you for your consideration!