Add additional separator keys for tag creation#22
Add additional separator keys for tag creation#22shalanah wants to merge 3 commits intopathofdev:masterfrom
Conversation
|
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! |
|
This PR also adds a small amount of code to apply text on blur to tags (useful for mobile) |
|
I want this feature 👍 |
|
@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 |
|
@shalanah Thanks I think I can fork yours :) |
|
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). |
|
@alexanderl19 Thx it looks awesome |
What this does
Allows more keys to create tags than just enter key. It is an optional prop called
separatorKeyswhich is an array of numbers. I'm excited to use it on commas, spaces, and tabs.