Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to cancel tags auto select #32

Closed
morangad opened this issue Nov 15, 2018 · 5 comments · Fixed by #40
Closed

Option to cancel tags auto select #32

morangad opened this issue Nov 15, 2018 · 5 comments · Fixed by #40

Comments

@morangad
Copy link

Hi,
Tnx for this great gift.
Is it possible not to force selection of a auto complete tag? For example if I have a tag ABC and I'm typing A the ABC is automatically selected and unless I press ESC the ABC while be selected and pressing enter would select it when I actually want to a new tag (A). Maybe instead I can get all the auto complete option and only by actively selecting it it will replace my A with ABC and otherwise pressing enter would just add my A tag.

@AlexMordred
Copy link
Member

Hi. I get what you mean, but I'm just not sure that's the kind of behavior most people would expect.

@morangad
Copy link
Author

morangad commented Nov 15, 2018 via email

@AlexMordred
Copy link
Member

@morangad Sorry, I didn't get that.

@heroheman
Copy link
Contributor

I kind of have the same problem.
If I have a tag called "WebDev" I can't add a tag called "Web"
Is there a way to add a "Add 'Web' as Tag" Button at the end or beginning of the dropdown?

@heroheman
Copy link
Contributor

heroheman commented Jan 11, 2019

I just discovered this in your documentation:

Press Esc to discard the search results and then Enter to add a new tag the way you've typed it.

This is exactly what I've been looking for. But it does not seem to work.

Update: It seems that the pressing esc is working, but it inmediatly triggers the searchTag function that is bind on keyup. If I change order it is working.

@keyup="searchTag"
@keyup.esc="ignoreSearchResults"

@AlexMordred I can make a PR if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants