Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Pass a response callback function to custom target functions #65

Closed
wants to merge 1 commit into from

Conversation

bshelton229
Copy link

I usually end up with asynchronous operations in my custom target functions, and need to update the new value (or not) based on a response from the server. This commit is an idea for sending a response handler function to the custom target function, similar to the way jquery-ui autocomplete works when defining a custom source function. I tried to stay compatibile with directly handling a target function return.

@NicolasCARPi
Copy link
Owner

Hello,

Thank you for your contribution! :)

The code has been merged!

Cheers,
~Nico

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants