vue select field get keypress value

I’m using vue-search-select for implementing autocomplete on select field. Now I want to get the input user enter to search from select field. I tried using keyup event but didn’t work. Is there any way to get that input user enter?

<model-list-select  :list="activity_list"  v-model="business_activity"  option-value="id"  :custom-text="optiontext"  @input="onChange($event)"  @keyup="keyhandle($event)" > </model-list-select> 
Add Comment
1 Answer(s)

Try replacing @keyup="keyhandle($event)" with @keyup.enter="keyhandle($event)"

Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.