Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Conversation

@shalanah
Copy link

@shalanah shalanah commented Jul 13, 2021

What this does

Allows more keys to create tags than just enter key. It is an optional prop called separatorKeys which is an array of numbers. I'm excited to use it on commas, spaces, and tabs.

@shalanah
Copy link
Author

PR probably not needed if either of these other PRs are accepted: #15 ... looks like a lot of us are into tabs, spaces, and commas!

@shalanah
Copy link
Author

This PR also adds a small amount of code to apply text on blur to tags (useful for mobile)

@kunhokimcareerday
Copy link

I want this feature 👍

@shalanah
Copy link
Author

shalanah commented Oct 20, 2021

@kunhokimcareerday Not sure if there will be any movement on this but you can dupe my branch if you want or use it for the time being. I'm using in my package for now "@pathofdev/react-tag-input": "https://github.com/shalanah/react-tag-input.git#master"

@kunhokimcareerday
Copy link

@shalanah Thanks I think I can fork yours :)

@alexanderl19
Copy link

If anyone stumbles onto this PR in the future, https://github.com/yairEO/tagify seems to be a well maintained alternative. I haven't had the opportunity to test it out extensively yet, but it seems like it has all the features of this library and some (including the one this PR adds).

@kunhokimcareerday
Copy link

@alexanderl19 Thx it looks awesome

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants