Skip to content

Commit

Permalink
WEBUI-1504: Tags fix mixed case entry fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Oct 14, 2024
1 parent 518ac28 commit c4ed9db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ui/widgets/nuxeo-selectivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -7197,7 +7197,6 @@ typedArrayTags[weakMapTag] = false;
}

options.query = (query) => {
query.term= query.term.toLowerCase();
if (query.term.length < this.minChars) {
query.error(this.i18n('selectivity.minChars', this.minChars));
return;
Expand Down
2 changes: 1 addition & 1 deletion ui/widgets/nuxeo-tag-suggestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ import { escapeHTML } from './nuxeo-selectivity.js';
}

_newEntryFormatter(term) {
return { id: term, displayLabel: term, newTag: true };
return { id: term, displayLabel: term.toLowerCase(), newTag: true };
}

_addedTagHandler(entry) {
Expand Down

0 comments on commit c4ed9db

Please sign in to comment.