This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
#50-issue - Added a rawResults flag to VueBootstrapTypehead that enab… #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a rawResults flag to VueBootstrapTypehead that enables it to show all the data results without filters in TypeheadList.
Actually I had the same issue as mentioned here: #50 . I have a data from server, that is already processed and filtered as I need. So this will help me or somebody else to do the same thing - just show all the data in TypeheadList if they've already processed it by adding a flag rawResults to their component. Like this:
<vue-bootstrap-typeahead
:data="countries"
v-model="cntrySearch"
:serializer="s => s.name"
placeholder="Canada, United States, etc..."
@hit="handleHit"
:rawResults="true"
/>
Without the flag or setting it to false will act as it is now.
P.S: I'm not really experienced contributor, so contact me please if I did something wrong and I'll be happy to fix myself up).