onpaste ?
Dror-Bar opened this issue · comments
Is the input's onpaste property not exposed?
For example, I want to insert string directly after the user pastes it to Tagsinput.
Is this possible?
@brianweet Thanks.
In my case, I wanted to add the string on paste, but also split it by comma (and not by space which is the default).
I accomplished it like this:
addOnPaste={true}
pasteSplit={str => str.split(',').map(d => d.trim())}