normalized tags
This commit is contained in:
parent
46d1cfcbed
commit
4cea57060e
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export default function TagsSearch(props: Props) {
|
||||||
|
|
||||||
setNewTag('');
|
setNewTag('');
|
||||||
|
|
||||||
tags = tags.split(',').map(newTag => newTag.trim());
|
tags = tags.split(',').map(newTag => newTag.trim().toLowerCase());
|
||||||
tags.forEach(tag => {
|
tags.forEach(tag => {
|
||||||
if (onSelect) {
|
if (onSelect) {
|
||||||
onSelect({ name: tag });
|
onSelect({ name: tag });
|
||||||
|
|
Loading…
Reference in a new issue