How to use "COMMA" and "SPACEBAR" as a delimiter?
gmwill934 opened this issue · 1 comments
gmwill934 commented
Hey
I'm trying to use comma
and spacebar
as a delimiter but its not letting me. I'm passing an array as prop to the component.
Any ideas?
<ReactTags
id={label}
placeholderText=""
ref={ref}
tags={allEmails}
onDelete={onDelete}
onAddition={onAddition}
onValidate={validateEmail}
delimiters={['Spacebar','Enter','Tab','Comma']}
allowNew
/>
gmwill934 commented
Fixed it with [' ', ',','Tab','Enter']