Skip to content
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

Ability to pass async function as a source property #86

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

dhivyada
Copy link

@dhivyada dhivyada commented Apr 3, 2020

After this change:
If there is already a function that returns a promise, such an async function can be passed to the source prop and the results can be processed.
E.g.
<autocomplete source="async function(input) { return getResults(input) }"> </autocomplete>
Here, getResults is a function when returns a promise

@coveralls
Copy link

coveralls commented Apr 3, 2020

Pull Request Test Coverage Report for Build 71

  • 11 of 31 (35.48%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-9.5%) to 86.923%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/Autocomplete.vue 11 31 35.48%
Totals Coverage Status
Change from base Build 57: -9.5%
Covered Lines: 166
Relevant Lines: 189

💛 - Coveralls

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

Successfully merging this pull request may close these issues.

None yet

2 participants