Open dhivyada opened 4 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/components/Autocomplete.vue | 11 | 31 | 35.48% | ||
<!-- | Total: | 11 | 31 | 35.48% | --> |
Totals | |
---|---|
Change from base Build 57: | -9.5% |
Covered Lines: | 166 |
Relevant Lines: | 189 |
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