Cannot enter one character tag.
Closed this issue · 0 comments
thenderson55 commented
I need to be able to add tags with a string length of one for Chinese/Japanese Kanji e.g 後
However, it appears the default setting is for min length of 2.
I have tried using "handleValidate":
<ReactTags
tags={tags}
handleValidate={function handleValidate(tag: any) {
return tag.name.length >= 0;
}}
handleDelete={handleTagDelete}
handleAddition={handleTagAddition}
allowNew={true}
/>
It works if I want to increase min length to 4 or something but cannot decrease to 1.
Anybody know how to set min length to 1 or remove the min length of 2 somehow?