Add option for accepting input via different keys and onBlur#8
Add option for accepting input via different keys and onBlur#8KarlMaresch wants to merge 3 commits intopathofdev:masterfrom
Conversation
cedricium
left a comment
There was a problem hiding this comment.
I need these exact changes myself, would love if this could get merged!
|
@cedricium looks like we have to wait before @pathofdev is active again. I'm using currently |
|
any news on this? |
|
Any news? Since no one is maintaining this, Just push this PR then! |
|
Can we get this merged??? |
|
@ImSolitude and @Mottoweb I am not allowed to merge to this repository as only the owner is allowed to. However, it looks like he is gone from github for quite some time. |
|
@KarlMaresch oh I see, yes this could be a solution or better other maintained libraries... Pity, this one got abandoned. |
Needed more options to accept the input. Two props were therefore added.
First is to specify keys (numbers) that should be accepted. This can be passed with the prop delimiters = {[ ]} which passes an Array of Numbers to the compoment.
Second is the option addOnBlur which can be either true or false. If true the input will be added as a tag as soon as the user clicks somerwhere else.