KazanExpress / vue-simple-suggest

Feature-rich autocomplete component for Vue.js
https://kazanexpress.github.io/vue-simple-suggest/
MIT License
461 stars 74 forks source link

Add prop to prevent hide #439

Closed xlcrr closed 3 years ago

xlcrr commented 3 years ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Add an optional prop preventHide that will keep the input open, allowing the user to select multiple inputs

What is the current behavior? (You can also link to an open issue here)

On suggestion click, the list of items closes. The user has to open the box again to select multiple items.

What is the new behavior (if this is a feature change)?

This prop will keep the display open

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

xlcrr commented 3 years ago

@kaskar2008 can you take a look at this when you get a chance? <3

xlcrr commented 3 years ago

I'm not sure how to update the docs, but I am using this fork and it works great! :D

kaskar2008 commented 3 years ago

Hello @xlcrr Thanks for the contribution. I will update the docs manually. This feature will be published within a week or two (next minor release).