question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Opening this issue as a stub and RFC (request for comments)

Project board:

https://github.com/darrenjennings/vue-autosuggest/projects/3

Branch:

https://github.com/darrenjennings/vue-autosuggest/tree/2.0

Try it out!

If you’re feeling risky, In your package.json add “beta” as the version and it will pull the latest 2.0:

"vue-autosuggest": "beta"

Codesandbox Demos:

Features:

  • new feature: v-model to address #52
  • remove event props (onBlur, onClick onFocus, onSelected) and thus deprecation code
  • Perf benefits: remove watcher, use computed for sections, section lists, size etc.
  • feat(input) type should be configurable on the <input> element
  • refactor(slots) rename header/footer slots to before/after-suggestions
  • feat(slots) add section before/after slots

Did not do:

  • ~integrate with https://github.com/Akryum/vue-virtual-scroller~
    • was not straightforward and not a huge need for now. always interested to see if this can be accomplished at some point in the future 🤔
  • ~feat(input) add 👻 ghost input typeahead option~
    • added “before input” slot + v-model and will explore ghost input in the future in userland
  • ~Figure out way to get test coverage to 100%~
    • increased test coverage from ~80% to ~86% but not getting to 100% at the moment. Code coverage is close to 97% locally vs. 86% on Travis-CI so not sure what’s up.
  • ~New vuepress docs~
    • should be easy to do, but not a blocker for the release.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
wujekbogdancommented, Feb 25, 2019

@darrenjennings

I have some proposals for v 2.x


(…) but vue-autosuggest will probably not try to become vue-multiselect which has very specific multiselect capabilities.

vue-multiselect is great, but it has its own gotchas. Multiple selection feature makes it much more complex, harder to manage and style. The worst thing about vue-multiselect is that it uses weird hacks to emulate the input field with multiple values - for example they use a hidden input that becames visible on focus, use <span> to emulate the placeholder, etc. Re-styling vue-multiselect is not a trivial task.

0reactions
darrenjenningscommented, May 23, 2019

Closed by 2.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Roadmap 2.0
Roadmap 2.0 is a mobile application designed to deliver a positive psychology based intervention program. Eight engaging activities aim to enhance positive ...
Read more >
Roadmap 2.0 - Apps on Google Play
Roadmap 2.0 is a mobile application for delivering a positive psychological intervention program for caregivers and patients undergoing a ...
Read more >
Ethereum upgrades (formerly 'Eth2')
The Ethereum roadmap involves interconnected protocol upgrades that will make the network more scalable, more secure, and more sustainable.
Read more >
The Roadmap to Serenity aka Ethereum 2.0 Upgrades
About the features and timeline for upgrading the Ethereum blockchain including Proof of Stake update, Shard Chains, a new Virtual Machine and plans...
Read more >
Bored Ape Yacht Club on Twitter: "Roadmap 2.0 ...
Conversation. Business profile picture · Bored Ape Yacht Club · @BoredApeYC. Roadmap 2.0 ☠️ ⛵️. Image. 7:10 PM · Sep 21, 2021....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found